ReactOS  0.4.15-dev-494-g1d8c567
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  */
18 VOID
19 EXPORT
24  IN ULONG Code)
25 {
27 }
28 
29 /*
30  * @unimplemented
31  */
33 EXPORT
37 {
39 
40  return NDIS_STATUS_FAILURE;
41 }
42 
43 /*
44  * @unimplemented
45  */
47 EXPORT
49  IN NDIS_HANDLE MiniportHandle,
51 {
53 
54  return NDIS_STATUS_FAILURE;
55 }
56 
57 /*
58  * @unimplemented
59  */
61 EXPORT
65 {
67 
69 
70  return NULL;
71 }
72 
73 /*
74  * @unimplemented
75  */
76 VOID
77 EXPORT
79  IN PUCHAR Block)
80 {
82 }
83 
84 /*
85  * @unimplemented
86  */
87 VOID
88 EXPORT
90  IN NDIS_HANDLE BlockPoolHandle)
91 {
93 }
94 
95 /*
96  * @unimplemented
97  */
99 EXPORT
101  IN USHORT BlockSize,
102  IN USHORT FreeBlockLinkOffset,
103  IN ULONG Tag,
104  IN NDIS_BLOCK_INITIALIZER InitFunction OPTIONAL)
105 {
107 
108  return NULL;
109 }
110 
111 /*
112  * @unimplemented
113  */
114 PUCHAR
115 EXPORT
117  IN NDIS_HANDLE BlockPoolHandle)
118 {
120 
121  return NULL;
122 }
123 
124 /*
125  * @unimplemented
126  */
127 PVOID
128 EXPORT
130  IN PUNICODE_STRING NdisRoutineName)
131 {
133 
134  return NULL;
135 }
136 
137 /*
138  * @unimplemented
139  */
141 EXPORT
143  OUT PNDIS_STRING pAdapterInstanceName,
144  IN NDIS_HANDLE BindingContext)
145 {
147 
148  return NDIS_STATUS_FAILURE;
149 }
150 
151 /*
152  * @unimplemented
153  */
154 VOID
155 EXPORT
157  IN NDIS_HANDLE PacketPoolHandle,
159 {
161 }
162 
163 /*
164  * @unimplemented
165  */
166 VOID
167 EXPORT
169  IN NDIS_HANDLE NdisAdapterHandle,
172 {
174 }
175 
176 
177 /*
178  * @unimplemented
179  */
181 EXPORT
183  IN NDIS_HANDLE NdisMiniportHandle)
184 {
186 
187  return NDIS_STATUS_FAILURE;
188 }
189 
190 
191 /*
192  * @unimplemented
193  */
194 #undef NdisIMInitializeDeviceInstance
196 EXPORT
200 {
202 
203  return NDIS_STATUS_FAILURE;
204 }
205 
206 
207 /*
208  * @unimplemented
209  */
211 EXPORT
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
228 VOID
229 EXPORT
233  IN NDIS_HANDLE NdisLinkContext,
234  IN PUCHAR PacketBuffer,
236 {
238 }
239 
240 
241 /*
242  * @unimplemented
243  */
244 #undef NdisMWanIndicateReceiveComplete
245 VOID
246 EXPORT
249  IN NDIS_HANDLE NdisLinkContext)
250 {
252 }
253 
254 
255 /*
256  * @unimplemented
257  */
258 #undef NdisMWanSendComplete
259 VOID
260 EXPORT
265 {
267 }
268 
269 /*
270  * @unimplemented
271  */
272 VOID
273 EXPORT
275  IN TDI_REGISTER_CALLBACK RegisterCallback,
276  IN TDI_PNP_HANDLER PnPHandler)
277 {
279 }
280 
281 /*
282  * @unimplemented
283  */
284 VOID
285 EXPORT
287 {
289 }
290 
291 /*
292  * @unimplemented
293  */
294 VOID
295 EXPORT
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  */
313 VOID
314 EXPORT
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  */
334 EXPORT
338 /*
339  * FUNCTION:
340  * ARGUMENTS:
341  * NOTES:
342  * NDIS 5.0
343  */
344 {
346 
347  return NULL;
348 }
349 
350 
351 /*
352  * @unimplemented
353  */
355 EXPORT
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  */
375 EXPORT
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  */
395 EXPORT
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  */
415 VOID
416 EXPORT
420 /*
421  * FUNCTION:
422  * ARGUMENTS:
423  * NOTES:
424  * NDIS 5.0
425  */
426 {
428 }
429 
430 
431 /*
432  * @unimplemented
433  */
435 EXPORT
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  */
455 VOID
456 EXPORT
459 /*
460  * FUNCTION:
461  * ARGUMENTS:
462  * NOTES:
463  * NDIS 5.0
464  */
465 {
467 }
468 
469 
470 /*
471  * @unimplemented
472  */
474 EXPORT
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  */
495 UINT
496 EXPORT
499 /*
500  * FUNCTION:
501  * ARGUMENTS:
502  * NOTES:
503  * NDIS 5.0
504  */
505 {
507 
508  return 0;
509 }
_In_ NDIS_HANDLE PrimaryMiniportAdapterHandle
Definition: ndis.h:4703
#define IN
Definition: typedefs.h:39
_Out_ BOOLEAN * StacksRemaining
Definition: ndis.h:2953
_In_opt_ NDIS_HANDLE _In_opt_ NDIS_HANDLE _Inout_ PNDIS_REQUEST NdisRequest
Definition: ndis.h:1571
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
Definition: ndis.h:1548
enum _NDIS_MEDIUM NDIS_MEDIUM
NDIS_STATUS EXPORT NdisQueryPendingIOCount(IN PVOID NdisBindingHandle, OUT PULONG IoCount)
Definition: 50stubs.c:34
VOID EXPORT NdisFreeToBlockPool(IN PUCHAR Block)
Definition: 50stubs.c:78
unsigned char * PUCHAR
Definition: retypes.h:3
* PNDIS_STATUS
Definition: ndis.h:45
_In_ NDIS_HANDLE MiniportAdapterHandle
Definition: ndis.h:4668
VOID EXPORT NdisCompleteQueryStatistics(IN NDIS_HANDLE NdisAdapterHandle, IN PNDIS_REQUEST NdisRequest, IN NDIS_STATUS Status)
Definition: 50stubs.c:168
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
_Must_inspect_result_ _Out_ PULONG IoCount
Definition: ndis.h:6126
VOID EXPORT NdisConvertStringToAtmAddress(OUT PNDIS_STATUS Status, IN PNDIS_STRING String, OUT PATM_ADDRESS AtmAddress)
Definition: 50stubs.c:315
static WCHAR String[]
Definition: stringtable.c:55
_In_ NDIS_HANDLE _In_ PNET_PNP_EVENT NetPnPEvent
Definition: ndis.h:6081
int NDIS_STATUS
Definition: ntddndis.h:471
NDIS_STATUS EXPORT NdisMRemoveMiniport(IN NDIS_HANDLE MiniportAdapterHandle)
Definition: 50stubs.c:376
_Out_ PNDIS_BUFFER _In_opt_ NDIS_HANDLE PoolHandle
Definition: ndis.h:2867
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
NTSTATUS(NTAPI * TDI_REGISTER_CALLBACK)(_In_ PUNICODE_STRING DeviceName, _Out_ HANDLE *TdiHandle)
Definition: ndis.h:973
VOID EXPORT NdisMWanSendComplete(IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_WAN_PACKET Packet, IN NDIS_STATUS Status)
Definition: 50stubs.c:261
unsigned char BOOLEAN
smooth NULL
Definition: ftsmooth.c:416
PNDIS_PACKET EXPORT NdisGetReceivedPacket(IN PNDIS_HANDLE NdisBindingHandle, IN PNDIS_HANDLE MacContext)
Definition: 50stubs.c:335
UINT EXPORT NdisPacketPoolUsage(IN NDIS_HANDLE PoolHandle)
Definition: 50stubs.c:497
static NDIS_HANDLE DriverHandle
VOID EXPORT NdisMWanIndicateReceiveComplete(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext)
Definition: 50stubs.c:247
PNDIS_PACKET_STACK EXPORT NdisIMGetCurrentPacketStack(IN PNDIS_PACKET Packet, OUT BOOLEAN *StacksRemaining)
Definition: 50stubs.c:62
#define Code
Definition: deflate.h:80
_In_ HANDLE Handle
Definition: extypes.h:390
NDIS_STATUS EXPORT NdisIMDeInitializeDeviceInstance(IN NDIS_HANDLE NdisMiniportHandle)
Definition: 50stubs.c:182
VOID(NTAPI * NDIS_BLOCK_INITIALIZER)(IN PUCHAR Block, IN SIZE_T NumberOfBytes)
Definition: ndis.h:3930
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
NDIS_STATUS EXPORT NdisIMInitializeDeviceInstance(IN NDIS_HANDLE DriverHandle, IN PNDIS_STRING DeviceInstance)
Definition: 50stubs.c:197
VOID EXPORT NdisRegisterTdiCallBack(IN TDI_REGISTER_CALLBACK RegisterCallback, IN TDI_PNP_HANDLER PnPHandler)
Definition: 50stubs.c:274
VOID EXPORT NdisIMAssociateMiniport(IN NDIS_HANDLE DriverHandle, IN NDIS_HANDLE ProtocolHandle)
Definition: 50stubs.c:417
_In_ UINT ProtocolId
Definition: ndis.h:2924
VOID EXPORT NdisDestroyBlockPool(IN NDIS_HANDLE BlockPoolHandle)
Definition: 50stubs.c:89
_In_ PNDIS_STRING _In_opt_ NDIS_HANDLE DeviceContext
Definition: ndis.h:5245
NDIS_STATUS EXPORT NdisQueryBindInstanceName(OUT PNDIS_STRING pAdapterInstanceName, IN NDIS_HANDLE BindingContext)
Definition: 50stubs.c:142
NDIS_STATUS EXPORT NdisMSetMiniportSecondary(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE PrimaryMiniportAdapterHandle)
Definition: 50stubs.c:396
_In_ PNDIS_STRING DeviceInstance
Definition: ndis.h:5202
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
VOID EXPORT NdisSetPacketPoolProtocolId(IN NDIS_HANDLE PacketPoolHandle, IN UINT ProtocolId)
Definition: 50stubs.c:156
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
NDIS_STATUS EXPORT NdisIMRegisterLayeredMiniport(IN NDIS_HANDLE NdisWrapperHandle, IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics, IN UINT CharacteristicsLength, OUT PNDIS_HANDLE DriverHandle)
Definition: 50stubs.c:212
Status
Definition: gdiplustypes.h:24
INT(NTAPI * RECEIVE_PACKET_HANDLER)(IN NDIS_HANDLE ProtocolBindingContext, IN PNDIS_PACKET Packet)
Definition: ndis.h:1839
_Out_ PNDIS_HANDLE _In_ PNDIS_PROTOCOL_CHARACTERISTICS _In_ UINT CharacteristicsLength
Definition: ndis.h:6134
_In_ USHORT PacketSize
Definition: iofuncs.h:1056
NDIS_HANDLE EXPORT NdisCreateBlockPool(IN USHORT BlockSize, IN USHORT FreeBlockLinkOffset, IN ULONG Tag, IN NDIS_BLOCK_INITIALIZER InitFunction OPTIONAL)
Definition: 50stubs.c:100
VOID EXPORT NdisDeregisterTdiCallBack(VOID)
Definition: 50stubs.c:286
unsigned short USHORT
Definition: pedump.c:61
NDIS_STATUS EXPORT NdisIMCancelInitializeDeviceInstance(IN NDIS_HANDLE DriverHandle, IN PNDIS_STRING DeviceInstance)
Definition: 50stubs.c:436
_Must_inspect_result_ _In_ PNDIS_HANDLE MacContext
Definition: ndis.h:6109
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
unsigned int * PULONG
Definition: retypes.h:1
PUCHAR EXPORT NdisAllocateFromBlockPool(IN NDIS_HANDLE BlockPoolHandle)
Definition: 50stubs.c:116
PVOID EXPORT NdisGetRoutineAddress(IN PUNICODE_STRING NdisRoutineName)
Definition: 50stubs.c:129
unsigned int UINT
Definition: ndis.h:50
_In_ PNDIS_STRING DriverInstance
Definition: ndis.h:5245
IN ULONG IN ULONG Tag
Definition: evtlib.h:159
_In_ NDIS_HANDLE ProtocolHandle
Definition: ndis.h:5194
NDIS_STATUS EXPORT NdisIMNotifyPnPEvent(IN NDIS_HANDLE MiniportHandle, IN PNET_PNP_EVENT NetPnPEvent)
Definition: 50stubs.c:48
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
#define UNIMPLEMENTED
Definition: debug.h:115
_Must_inspect_result_ _In_ NDIS_HANDLE NdisBindingHandle
Definition: ndis.h:4735
NDIS_STATUS EXPORT NdisMPromoteMiniport(IN NDIS_HANDLE MiniportAdapterHandle)
Definition: 50stubs.c:356
#define NDIS_STATUS_FAILURE
Definition: ndis.h:465
NDIS_STATUS EXPORT NdisIMInitializeDeviceInstanceEx(IN NDIS_HANDLE DriverHandle, IN PNDIS_STRING DriverInstance, IN NDIS_HANDLE DeviceContext OPTIONAL)
Definition: 50stubs.c:475
VOID EXPORT NdisSetPacketStatus(IN PNDIS_PACKET Packet, IN NDIS_STATUS Status, IN NDIS_HANDLE Handle, IN ULONG Code)
Definition: 50stubs.c:20
VOID EXPORT NdisIMDeregisterLayeredMiniport(IN NDIS_HANDLE DriverHandle)
Definition: 50stubs.c:457
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68