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
NdisSetPacketStatus(IN PNDIS_PACKET Packet,IN NDIS_STATUS Status,IN NDIS_HANDLE Handle,IN ULONG Code)20 NdisSetPacketStatus(
21 IN PNDIS_PACKET Packet,
22 IN NDIS_STATUS Status,
23 IN NDIS_HANDLE Handle,
24 IN ULONG Code)
25 {
26 UNIMPLEMENTED;
27 }
28
29 /*
30 * @unimplemented
31 */
32 NDIS_STATUS
33 EXPORT
NdisQueryPendingIOCount(IN PVOID NdisBindingHandle,OUT PULONG IoCount)34 NdisQueryPendingIOCount(
35 IN PVOID NdisBindingHandle,
36 OUT PULONG IoCount)
37 {
38 UNIMPLEMENTED;
39
40 return NDIS_STATUS_FAILURE;
41 }
42
43 /*
44 * @unimplemented
45 */
46 NDIS_STATUS
47 EXPORT
NdisIMNotifyPnPEvent(IN NDIS_HANDLE MiniportHandle,IN PNET_PNP_EVENT NetPnPEvent)48 NdisIMNotifyPnPEvent(
49 IN NDIS_HANDLE MiniportHandle,
50 IN PNET_PNP_EVENT NetPnPEvent)
51 {
52 UNIMPLEMENTED;
53
54 return NDIS_STATUS_FAILURE;
55 }
56
57 /*
58 * @unimplemented
59 */
60 PNDIS_PACKET_STACK
61 EXPORT
NdisIMGetCurrentPacketStack(IN PNDIS_PACKET Packet,OUT BOOLEAN * StacksRemaining)62 NdisIMGetCurrentPacketStack(
63 IN PNDIS_PACKET Packet,
64 OUT BOOLEAN *StacksRemaining)
65 {
66 UNIMPLEMENTED;
67
68 *StacksRemaining = FALSE;
69
70 return NULL;
71 }
72
73 /*
74 * @unimplemented
75 */
76 VOID
77 EXPORT
NdisFreeToBlockPool(IN PUCHAR Block)78 NdisFreeToBlockPool(
79 IN PUCHAR Block)
80 {
81 UNIMPLEMENTED;
82 }
83
84 /*
85 * @unimplemented
86 */
87 VOID
88 EXPORT
NdisDestroyBlockPool(IN NDIS_HANDLE BlockPoolHandle)89 NdisDestroyBlockPool(
90 IN NDIS_HANDLE BlockPoolHandle)
91 {
92 UNIMPLEMENTED;
93 }
94
95 /*
96 * @unimplemented
97 */
98 NDIS_HANDLE
99 EXPORT
NdisCreateBlockPool(IN USHORT BlockSize,IN USHORT FreeBlockLinkOffset,IN ULONG Tag,IN NDIS_BLOCK_INITIALIZER InitFunction OPTIONAL)100 NdisCreateBlockPool(
101 IN USHORT BlockSize,
102 IN USHORT FreeBlockLinkOffset,
103 IN ULONG Tag,
104 IN NDIS_BLOCK_INITIALIZER InitFunction OPTIONAL)
105 {
106 UNIMPLEMENTED;
107
108 return NULL;
109 }
110
111 /*
112 * @unimplemented
113 */
114 PUCHAR
115 EXPORT
NdisAllocateFromBlockPool(IN NDIS_HANDLE BlockPoolHandle)116 NdisAllocateFromBlockPool(
117 IN NDIS_HANDLE BlockPoolHandle)
118 {
119 UNIMPLEMENTED;
120
121 return NULL;
122 }
123
124 /*
125 * @unimplemented
126 */
127 PVOID
128 EXPORT
NdisGetRoutineAddress(IN PUNICODE_STRING NdisRoutineName)129 NdisGetRoutineAddress(
130 IN PUNICODE_STRING NdisRoutineName)
131 {
132 UNIMPLEMENTED;
133
134 return NULL;
135 }
136
137 /*
138 * @unimplemented
139 */
140 NDIS_STATUS
141 EXPORT
NdisQueryBindInstanceName(OUT PNDIS_STRING pAdapterInstanceName,IN NDIS_HANDLE BindingContext)142 NdisQueryBindInstanceName(
143 OUT PNDIS_STRING pAdapterInstanceName,
144 IN NDIS_HANDLE BindingContext)
145 {
146 UNIMPLEMENTED;
147
148 return NDIS_STATUS_FAILURE;
149 }
150
151 /*
152 * @unimplemented
153 */
154 VOID
155 EXPORT
NdisSetPacketPoolProtocolId(IN NDIS_HANDLE PacketPoolHandle,IN UINT ProtocolId)156 NdisSetPacketPoolProtocolId(
157 IN NDIS_HANDLE PacketPoolHandle,
158 IN UINT ProtocolId)
159 {
160 UNIMPLEMENTED;
161 }
162
163 /*
164 * @unimplemented
165 */
166 VOID
167 EXPORT
NdisCompleteQueryStatistics(IN NDIS_HANDLE NdisAdapterHandle,IN PNDIS_REQUEST NdisRequest,IN NDIS_STATUS Status)168 NdisCompleteQueryStatistics(
169 IN NDIS_HANDLE NdisAdapterHandle,
170 IN PNDIS_REQUEST NdisRequest,
171 IN NDIS_STATUS Status)
172 {
173 UNIMPLEMENTED;
174 }
175
176
177 /*
178 * @unimplemented
179 */
180 NDIS_STATUS
181 EXPORT
NdisIMDeInitializeDeviceInstance(IN NDIS_HANDLE NdisMiniportHandle)182 NdisIMDeInitializeDeviceInstance(
183 IN NDIS_HANDLE NdisMiniportHandle)
184 {
185 UNIMPLEMENTED;
186
187 return NDIS_STATUS_FAILURE;
188 }
189
190
191 /*
192 * @unimplemented
193 */
194 #undef NdisIMInitializeDeviceInstance
195 NDIS_STATUS
196 EXPORT
NdisIMInitializeDeviceInstance(IN NDIS_HANDLE DriverHandle,IN PNDIS_STRING DeviceInstance)197 NdisIMInitializeDeviceInstance(
198 IN NDIS_HANDLE DriverHandle,
199 IN PNDIS_STRING DeviceInstance)
200 {
201 UNIMPLEMENTED;
202
203 return NDIS_STATUS_FAILURE;
204 }
205
206
207 /*
208 * @unimplemented
209 */
210 NDIS_STATUS
211 EXPORT
NdisIMRegisterLayeredMiniport(IN NDIS_HANDLE NdisWrapperHandle,IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics,IN UINT CharacteristicsLength,OUT PNDIS_HANDLE DriverHandle)212 NdisIMRegisterLayeredMiniport(
213 IN NDIS_HANDLE NdisWrapperHandle,
214 IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics,
215 IN UINT CharacteristicsLength,
216 OUT PNDIS_HANDLE DriverHandle)
217 {
218 UNIMPLEMENTED;
219
220 return NDIS_STATUS_FAILURE;
221 }
222
223
224 /*
225 * @unimplemented
226 */
227 #undef NdisMWanIndicateReceive
228 VOID
229 EXPORT
NdisMWanIndicateReceive(OUT PNDIS_STATUS Status,IN NDIS_HANDLE MiniportAdapterHandle,IN NDIS_HANDLE NdisLinkContext,IN PUCHAR PacketBuffer,IN UINT PacketSize)230 NdisMWanIndicateReceive(
231 OUT PNDIS_STATUS Status,
232 IN NDIS_HANDLE MiniportAdapterHandle,
233 IN NDIS_HANDLE NdisLinkContext,
234 IN PUCHAR PacketBuffer,
235 IN UINT PacketSize)
236 {
237 UNIMPLEMENTED;
238 }
239
240
241 /*
242 * @unimplemented
243 */
244 #undef NdisMWanIndicateReceiveComplete
245 VOID
246 EXPORT
NdisMWanIndicateReceiveComplete(IN NDIS_HANDLE MiniportAdapterHandle,IN NDIS_HANDLE NdisLinkContext)247 NdisMWanIndicateReceiveComplete(
248 IN NDIS_HANDLE MiniportAdapterHandle,
249 IN NDIS_HANDLE NdisLinkContext)
250 {
251 UNIMPLEMENTED;
252 }
253
254
255 /*
256 * @unimplemented
257 */
258 #undef NdisMWanSendComplete
259 VOID
260 EXPORT
NdisMWanSendComplete(IN NDIS_HANDLE MiniportAdapterHandle,IN PNDIS_WAN_PACKET Packet,IN NDIS_STATUS Status)261 NdisMWanSendComplete(
262 IN NDIS_HANDLE MiniportAdapterHandle,
263 IN PNDIS_WAN_PACKET Packet,
264 IN NDIS_STATUS Status)
265 {
266 UNIMPLEMENTED;
267 }
268
269 /*
270 * @unimplemented
271 */
272 VOID
273 EXPORT
NdisRegisterTdiCallBack(IN TDI_REGISTER_CALLBACK RegisterCallback,IN TDI_PNP_HANDLER PnPHandler)274 NdisRegisterTdiCallBack(
275 IN TDI_REGISTER_CALLBACK RegisterCallback,
276 IN TDI_PNP_HANDLER PnPHandler)
277 {
278 UNIMPLEMENTED;
279 }
280
281 /*
282 * @unimplemented
283 */
284 VOID
285 EXPORT
NdisDeregisterTdiCallBack(VOID)286 NdisDeregisterTdiCallBack(VOID)
287 {
288 UNIMPLEMENTED;
289 }
290
291 /*
292 * @unimplemented
293 */
294 VOID
295 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)296 NdisSetProtocolFilter(
297 OUT PNDIS_STATUS Status,
298 IN NDIS_HANDLE NdisBindingHandle,
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 {
306 UNIMPLEMENTED;
307 }
308
309
310 /*
311 * @unimplemented
312 */
313 VOID
314 EXPORT
NdisConvertStringToAtmAddress(OUT PNDIS_STATUS Status,IN PNDIS_STRING String,OUT PATM_ADDRESS AtmAddress)315 NdisConvertStringToAtmAddress(
316 OUT PNDIS_STATUS Status,
317 IN PNDIS_STRING String,
318 OUT PATM_ADDRESS AtmAddress)
319 /*
320 * FUNCTION:
321 * ARGUMENTS:
322 * NOTES:
323 * NDIS 5.0
324 */
325 {
326 UNIMPLEMENTED;
327 }
328
329
330 /*
331 * @unimplemented
332 */
333 PNDIS_PACKET
334 EXPORT
NdisGetReceivedPacket(IN PNDIS_HANDLE NdisBindingHandle,IN PNDIS_HANDLE MacContext)335 NdisGetReceivedPacket(
336 IN PNDIS_HANDLE NdisBindingHandle,
337 IN PNDIS_HANDLE MacContext)
338 /*
339 * FUNCTION:
340 * ARGUMENTS:
341 * NOTES:
342 * NDIS 5.0
343 */
344 {
345 UNIMPLEMENTED;
346
347 return NULL;
348 }
349
350
351 /*
352 * @unimplemented
353 */
354 NDIS_STATUS
355 EXPORT
NdisMPromoteMiniport(IN NDIS_HANDLE MiniportAdapterHandle)356 NdisMPromoteMiniport(
357 IN NDIS_HANDLE MiniportAdapterHandle)
358 /*
359 * FUNCTION:
360 * ARGUMENTS:
361 * NOTES:
362 * NDIS 5.0
363 */
364 {
365 UNIMPLEMENTED;
366
367 return NDIS_STATUS_FAILURE;
368 }
369
370
371 /*
372 * @unimplemented
373 */
374 NDIS_STATUS
375 EXPORT
NdisMRemoveMiniport(IN NDIS_HANDLE MiniportAdapterHandle)376 NdisMRemoveMiniport(
377 IN NDIS_HANDLE MiniportAdapterHandle)
378 /*
379 * FUNCTION:
380 * ARGUMENTS:
381 * NOTES:
382 * NDIS 5.0
383 */
384 {
385 UNIMPLEMENTED;
386
387 return NDIS_STATUS_FAILURE;
388 }
389
390
391 /*
392 * @unimplemented
393 */
394 NDIS_STATUS
395 EXPORT
NdisMSetMiniportSecondary(IN NDIS_HANDLE MiniportAdapterHandle,IN NDIS_HANDLE PrimaryMiniportAdapterHandle)396 NdisMSetMiniportSecondary(
397 IN NDIS_HANDLE MiniportAdapterHandle,
398 IN NDIS_HANDLE PrimaryMiniportAdapterHandle)
399 /*
400 * FUNCTION:
401 * ARGUMENTS:
402 * NOTES:
403 * NDIS 5.0
404 */
405 {
406 UNIMPLEMENTED;
407
408 return NDIS_STATUS_FAILURE;
409 }
410
411
412 /*
413 * @unimplemented
414 */
415 VOID
416 EXPORT
NdisIMAssociateMiniport(IN NDIS_HANDLE DriverHandle,IN NDIS_HANDLE ProtocolHandle)417 NdisIMAssociateMiniport(
418 IN NDIS_HANDLE DriverHandle,
419 IN NDIS_HANDLE ProtocolHandle)
420 /*
421 * FUNCTION:
422 * ARGUMENTS:
423 * NOTES:
424 * NDIS 5.0
425 */
426 {
427 UNIMPLEMENTED;
428 }
429
430
431 /*
432 * @unimplemented
433 */
434 NDIS_STATUS
435 EXPORT
NdisIMCancelInitializeDeviceInstance(IN NDIS_HANDLE DriverHandle,IN PNDIS_STRING DeviceInstance)436 NdisIMCancelInitializeDeviceInstance(
437 IN NDIS_HANDLE DriverHandle,
438 IN PNDIS_STRING DeviceInstance)
439 /*
440 * FUNCTION:
441 * ARGUMENTS:
442 * NOTES:
443 * NDIS 5.0
444 */
445 {
446 UNIMPLEMENTED;
447
448 return NDIS_STATUS_FAILURE;
449 }
450
451
452 /*
453 * @unimplemented
454 */
455 VOID
456 EXPORT
NdisIMDeregisterLayeredMiniport(IN NDIS_HANDLE DriverHandle)457 NdisIMDeregisterLayeredMiniport(
458 IN NDIS_HANDLE DriverHandle)
459 /*
460 * FUNCTION:
461 * ARGUMENTS:
462 * NOTES:
463 * NDIS 5.0
464 */
465 {
466 UNIMPLEMENTED;
467 }
468
469
470 /*
471 * @unimplemented
472 */
473 NDIS_STATUS
474 EXPORT
NdisIMInitializeDeviceInstanceEx(IN NDIS_HANDLE DriverHandle,IN PNDIS_STRING DriverInstance,IN NDIS_HANDLE DeviceContext OPTIONAL)475 NdisIMInitializeDeviceInstanceEx(
476 IN NDIS_HANDLE DriverHandle,
477 IN PNDIS_STRING DriverInstance,
478 IN NDIS_HANDLE DeviceContext OPTIONAL)
479 /*
480 * FUNCTION:
481 * ARGUMENTS:
482 * NOTES:
483 * NDIS 5.0
484 */
485 {
486 UNIMPLEMENTED;
487
488 return NDIS_STATUS_FAILURE;
489 }
490
491
492 /*
493 * @unimplemented
494 */
495 UINT
496 EXPORT
NdisPacketPoolUsage(IN NDIS_HANDLE PoolHandle)497 NdisPacketPoolUsage(
498 IN NDIS_HANDLE PoolHandle)
499 /*
500 * FUNCTION:
501 * ARGUMENTS:
502 * NOTES:
503 * NDIS 5.0
504 */
505 {
506 UNIMPLEMENTED;
507
508 return 0;
509 }
510