ReactOS 0.4.15-dev-8222-g9164419
50stubs.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS NDIS library
4 * FILE: ndis/50stubs.c
5 * PURPOSE: NDIS 5.0 Stubs
6 * PROGRAMMERS: Casper S. Hornstrup (chorns@users.sourceforge.net)
7 * REVISIONS:
8 * CSH 01/08-2000 Created
9 */
10
11#include "ndissys.h"
12
13#include <atm.h>
14
15/*
16 * @unimplemented
17 */
18VOID
25{
27}
28
29/*
30 * @unimplemented
31 */
37{
39
41}
42
43/*
44 * @unimplemented
45 */
49 IN NDIS_HANDLE MiniportHandle,
51{
53
55}
56
57/*
58 * @unimplemented
59 */
65{
67
69
70 return NULL;
71}
72
73/*
74 * @unimplemented
75 */
76VOID
79 IN PUCHAR Block)
80{
82}
83
84/*
85 * @unimplemented
86 */
87VOID
90 IN NDIS_HANDLE BlockPoolHandle)
91{
93}
94
95/*
96 * @unimplemented
97 */
101 IN USHORT BlockSize,
102 IN USHORT FreeBlockLinkOffset,
103 IN ULONG Tag,
105{
107
108 return NULL;
109}
110
111/*
112 * @unimplemented
113 */
114PUCHAR
115EXPORT
117 IN NDIS_HANDLE BlockPoolHandle)
118{
120
121 return NULL;
122}
123
124/*
125 * @unimplemented
126 */
127PVOID
128EXPORT
130 IN PUNICODE_STRING NdisRoutineName)
131{
133
134 return NULL;
135}
136
137/*
138 * @unimplemented
139 */
141EXPORT
143 OUT PNDIS_STRING pAdapterInstanceName,
144 IN NDIS_HANDLE BindingContext)
145{
147
148 return NDIS_STATUS_FAILURE;
149}
150
151/*
152 * @unimplemented
153 */
154VOID
155EXPORT
157 IN NDIS_HANDLE PacketPoolHandle,
159{
161}
162
163/*
164 * @unimplemented
165 */
166VOID
167EXPORT
169 IN NDIS_HANDLE NdisAdapterHandle,
172{
174}
175
176
177/*
178 * @unimplemented
179 */
181EXPORT
183 IN NDIS_HANDLE NdisMiniportHandle)
184{
186
187 return NDIS_STATUS_FAILURE;
188}
189
190
191/*
192 * @unimplemented
193 */
194#undef NdisIMInitializeDeviceInstance
196EXPORT
200{
202
203 return NDIS_STATUS_FAILURE;
204}
205
206
207/*
208 * @unimplemented
209 */
211EXPORT
213 IN NDIS_HANDLE NdisWrapperHandle,
214 IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics,
217{
219
220 return NDIS_STATUS_FAILURE;
221}
222
223
224/*
225 * @unimplemented
226 */
227#undef NdisMWanIndicateReceive
228VOID
229EXPORT
233 IN NDIS_HANDLE NdisLinkContext,
234 IN PUCHAR PacketBuffer,
236{
238}
239
240
241/*
242 * @unimplemented
243 */
244#undef NdisMWanIndicateReceiveComplete
245VOID
246EXPORT
249 IN NDIS_HANDLE NdisLinkContext)
250{
252}
253
254
255/*
256 * @unimplemented
257 */
258#undef NdisMWanSendComplete
259VOID
260EXPORT
265{
267}
268
269/*
270 * @unimplemented
271 */
272VOID
273EXPORT
275 IN TDI_REGISTER_CALLBACK RegisterCallback,
276 IN TDI_PNP_HANDLER PnPHandler)
277{
279}
280
281/*
282 * @unimplemented
283 */
284VOID
285EXPORT
287{
289}
290
291/*
292 * @unimplemented
293 */
294VOID
295EXPORT
299 IN RECEIVE_HANDLER ReceiveHandler,
300 IN RECEIVE_PACKET_HANDLER ReceivePacketHandler,
301 IN NDIS_MEDIUM Medium,
302 IN UINT Offset,
303 IN UINT Size,
304 IN PUCHAR Pattern)
305{
307}
308
309
310/*
311 * @unimplemented
312 */
313VOID
314EXPORT
318 OUT PATM_ADDRESS AtmAddress)
319/*
320 * FUNCTION:
321 * ARGUMENTS:
322 * NOTES:
323 * NDIS 5.0
324 */
325{
327}
328
329
330/*
331 * @unimplemented
332 */
334EXPORT
338/*
339 * FUNCTION:
340 * ARGUMENTS:
341 * NOTES:
342 * NDIS 5.0
343 */
344{
346
347 return NULL;
348}
349
350
351/*
352 * @unimplemented
353 */
355EXPORT
358/*
359 * FUNCTION:
360 * ARGUMENTS:
361 * NOTES:
362 * NDIS 5.0
363 */
364{
366
367 return NDIS_STATUS_FAILURE;
368}
369
370
371/*
372 * @unimplemented
373 */
375EXPORT
378/*
379 * FUNCTION:
380 * ARGUMENTS:
381 * NOTES:
382 * NDIS 5.0
383 */
384{
386
387 return NDIS_STATUS_FAILURE;
388}
389
390
391/*
392 * @unimplemented
393 */
395EXPORT
399/*
400 * FUNCTION:
401 * ARGUMENTS:
402 * NOTES:
403 * NDIS 5.0
404 */
405{
407
408 return NDIS_STATUS_FAILURE;
409}
410
411
412/*
413 * @unimplemented
414 */
415VOID
416EXPORT
420/*
421 * FUNCTION:
422 * ARGUMENTS:
423 * NOTES:
424 * NDIS 5.0
425 */
426{
428}
429
430
431/*
432 * @unimplemented
433 */
435EXPORT
439/*
440 * FUNCTION:
441 * ARGUMENTS:
442 * NOTES:
443 * NDIS 5.0
444 */
445{
447
448 return NDIS_STATUS_FAILURE;
449}
450
451
452/*
453 * @unimplemented
454 */
455VOID
456EXPORT
459/*
460 * FUNCTION:
461 * ARGUMENTS:
462 * NOTES:
463 * NDIS 5.0
464 */
465{
467}
468
469
470/*
471 * @unimplemented
472 */
474EXPORT
479/*
480 * FUNCTION:
481 * ARGUMENTS:
482 * NOTES:
483 * NDIS 5.0
484 */
485{
487
488 return NDIS_STATUS_FAILURE;
489}
490
491
492/*
493 * @unimplemented
494 */
495UINT
496EXPORT
499/*
500 * FUNCTION:
501 * ARGUMENTS:
502 * NOTES:
503 * NDIS 5.0
504 */
505{
507
508 return 0;
509}
NDIS_STATUS EXPORT NdisMPromoteMiniport(IN NDIS_HANDLE MiniportAdapterHandle)
Definition: 50stubs.c:356
VOID EXPORT NdisDeregisterTdiCallBack(VOID)
Definition: 50stubs.c:286
PVOID EXPORT NdisGetRoutineAddress(IN PUNICODE_STRING NdisRoutineName)
Definition: 50stubs.c:129
VOID EXPORT NdisSetPacketStatus(IN PNDIS_PACKET Packet, IN NDIS_STATUS Status, IN NDIS_HANDLE Handle, IN ULONG Code)
Definition: 50stubs.c:20
NDIS_HANDLE EXPORT NdisCreateBlockPool(IN USHORT BlockSize, IN USHORT FreeBlockLinkOffset, IN ULONG Tag, IN NDIS_BLOCK_INITIALIZER InitFunction OPTIONAL)
Definition: 50stubs.c:100
PUCHAR EXPORT NdisAllocateFromBlockPool(IN NDIS_HANDLE BlockPoolHandle)
Definition: 50stubs.c:116
NDIS_STATUS EXPORT NdisIMNotifyPnPEvent(IN NDIS_HANDLE MiniportHandle, IN PNET_PNP_EVENT NetPnPEvent)
Definition: 50stubs.c:48
VOID EXPORT NdisRegisterTdiCallBack(IN TDI_REGISTER_CALLBACK RegisterCallback, IN TDI_PNP_HANDLER PnPHandler)
Definition: 50stubs.c:274
VOID EXPORT NdisSetPacketPoolProtocolId(IN NDIS_HANDLE PacketPoolHandle, IN UINT ProtocolId)
Definition: 50stubs.c:156
UINT EXPORT NdisPacketPoolUsage(IN NDIS_HANDLE PoolHandle)
Definition: 50stubs.c:497
NDIS_STATUS EXPORT NdisIMInitializeDeviceInstanceEx(IN NDIS_HANDLE DriverHandle, IN PNDIS_STRING DriverInstance, IN NDIS_HANDLE DeviceContext OPTIONAL)
Definition: 50stubs.c:475
VOID EXPORT NdisFreeToBlockPool(IN PUCHAR Block)
Definition: 50stubs.c:78
VOID EXPORT NdisDestroyBlockPool(IN NDIS_HANDLE BlockPoolHandle)
Definition: 50stubs.c:89
VOID EXPORT NdisSetProtocolFilter(OUT PNDIS_STATUS Status, IN NDIS_HANDLE NdisBindingHandle, IN RECEIVE_HANDLER ReceiveHandler, IN RECEIVE_PACKET_HANDLER ReceivePacketHandler, IN NDIS_MEDIUM Medium, IN UINT Offset, IN UINT Size, IN PUCHAR Pattern)
Definition: 50stubs.c:296
NDIS_STATUS EXPORT NdisIMDeInitializeDeviceInstance(IN NDIS_HANDLE NdisMiniportHandle)
Definition: 50stubs.c:182
NDIS_STATUS EXPORT NdisMSetMiniportSecondary(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE PrimaryMiniportAdapterHandle)
Definition: 50stubs.c:396
VOID EXPORT NdisConvertStringToAtmAddress(OUT PNDIS_STATUS Status, IN PNDIS_STRING String, OUT PATM_ADDRESS AtmAddress)
Definition: 50stubs.c:315
NDIS_STATUS EXPORT NdisQueryPendingIOCount(IN PVOID NdisBindingHandle, OUT PULONG IoCount)
Definition: 50stubs.c:34
NDIS_STATUS EXPORT NdisIMCancelInitializeDeviceInstance(IN NDIS_HANDLE DriverHandle, IN PNDIS_STRING DeviceInstance)
Definition: 50stubs.c:436
NDIS_STATUS EXPORT NdisIMRegisterLayeredMiniport(IN NDIS_HANDLE NdisWrapperHandle, IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics, IN UINT CharacteristicsLength, OUT PNDIS_HANDLE DriverHandle)
Definition: 50stubs.c:212
PNDIS_PACKET EXPORT NdisGetReceivedPacket(IN PNDIS_HANDLE NdisBindingHandle, IN PNDIS_HANDLE MacContext)
Definition: 50stubs.c:335
VOID EXPORT NdisMWanSendComplete(IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_WAN_PACKET Packet, IN NDIS_STATUS Status)
Definition: 50stubs.c:261
NDIS_STATUS EXPORT NdisMRemoveMiniport(IN NDIS_HANDLE MiniportAdapterHandle)
Definition: 50stubs.c:376
PNDIS_PACKET_STACK EXPORT NdisIMGetCurrentPacketStack(IN PNDIS_PACKET Packet, OUT BOOLEAN *StacksRemaining)
Definition: 50stubs.c:62
VOID EXPORT NdisMWanIndicateReceive(OUT PNDIS_STATUS Status, IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext, IN PUCHAR PacketBuffer, IN UINT PacketSize)
Definition: 50stubs.c:230
VOID EXPORT NdisIMDeregisterLayeredMiniport(IN NDIS_HANDLE DriverHandle)
Definition: 50stubs.c:457
VOID EXPORT NdisIMAssociateMiniport(IN NDIS_HANDLE DriverHandle, IN NDIS_HANDLE ProtocolHandle)
Definition: 50stubs.c:417
NDIS_STATUS EXPORT NdisQueryBindInstanceName(OUT PNDIS_STRING pAdapterInstanceName, IN NDIS_HANDLE BindingContext)
Definition: 50stubs.c:142
VOID EXPORT NdisCompleteQueryStatistics(IN NDIS_HANDLE NdisAdapterHandle, IN PNDIS_REQUEST NdisRequest, IN NDIS_STATUS Status)
Definition: 50stubs.c:168
VOID EXPORT NdisMWanIndicateReceiveComplete(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext)
Definition: 50stubs.c:247
static NDIS_HANDLE DriverHandle
unsigned char BOOLEAN
#define UNIMPLEMENTED
Definition: debug.h:118
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
static const WCHAR DeviceInstance[]
Definition: interface.c:28
ULONG Handle
Definition: gdb_input.c:15
Status
Definition: gdiplustypes.h:25
_Out_ PNDIS_HANDLE _In_ PNDIS_PROTOCOL_CHARACTERISTICS _In_ UINT CharacteristicsLength
Definition: ndis.h:6136
_In_ NDIS_HANDLE ProtocolHandle
Definition: ndis.h:5194
_Must_inspect_result_ _In_ PNDIS_HANDLE MacContext
Definition: ndis.h:6109
_In_ NDIS_HANDLE PrimaryMiniportAdapterHandle
Definition: ndis.h:4703
INT(NTAPI * RECEIVE_PACKET_HANDLER)(IN NDIS_HANDLE ProtocolBindingContext, IN PNDIS_PACKET Packet)
Definition: ndis.h:1839
_Must_inspect_result_ _In_ NDIS_HANDLE NdisBindingHandle
Definition: ndis.h:4735
_In_ UINT ProtocolId
Definition: ndis.h:2924
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
Definition: ndis.h:1549
_In_ PNDIS_STRING DriverInstance
Definition: ndis.h:5245
unsigned int UINT
Definition: ndis.h:50
_Out_ PNDIS_BUFFER _In_opt_ NDIS_HANDLE PoolHandle
Definition: ndis.h:2868
#define NdisIMInitializeDeviceInstance(DriverHandle, DeviceInstance)
Definition: ndis.h:5904
#define NDIS_STATUS_FAILURE
Definition: ndis.h:465
VOID(NTAPI * NDIS_BLOCK_INITIALIZER)(IN PUCHAR Block, IN SIZE_T NumberOfBytes)
Definition: ndis.h:3930
_In_ NDIS_HANDLE _In_ PNET_PNP_EVENT NetPnPEvent
Definition: ndis.h:6082
NTSTATUS(NTAPI * TDI_REGISTER_CALLBACK)(_In_ PUNICODE_STRING DeviceName, _Out_ HANDLE *TdiHandle)
Definition: ndis.h:973
NDIS_STATUS(NTAPI * RECEIVE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_HANDLE MacReceiveContext, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookAheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)
Definition: ndis.h:1781
_Must_inspect_result_ _Out_ PULONG IoCount
Definition: ndis.h:6126
_In_ NDIS_HANDLE MiniportAdapterHandle
Definition: ndis.h:4668
_In_ PNDIS_STRING _In_opt_ NDIS_HANDLE DeviceContext
Definition: ndis.h:5246
* PNDIS_STATUS
Definition: ndis.h:45
_In_opt_ NDIS_HANDLE _In_opt_ NDIS_HANDLE _Inout_ PNDIS_REQUEST NdisRequest
Definition: ndis.h:1573
NTSTATUS(NTAPI * TDI_PNP_HANDLER)(_In_ PUNICODE_STRING UpperComponent, _In_ PUNICODE_STRING LowerComponent, _In_ PUNICODE_STRING BindList, _In_ PVOID ReconfigBuffer, _In_ UINT ReconfigBufferSize, _In_ UINT Operation)
Definition: ndis.h:978
_Out_ BOOLEAN * StacksRemaining
Definition: ndis.h:2953
enum _NDIS_MEDIUM NDIS_MEDIUM
int NDIS_STATUS
Definition: ntddndis.h:475
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
unsigned short USHORT
Definition: pedump.c:61
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
uint32_t * PULONG
Definition: typedefs.h:59
#define IN
Definition: typedefs.h:39
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4065
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_In_ UCHAR _In_ UCHAR _In_ ULONG Code
Definition: wdfdevice.h:1701
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
_In_ USHORT PacketSize
Definition: iofuncs.h:1058