ReactOS  0.4.15-dev-494-g1d8c567
40stubs.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/40stubs.c
5  * PURPOSE: NDIS 4.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 /*
14  * @unimplemented
15  */
16 VOID
17 EXPORT
19  IN NDIS_HANDLE NdisBindingContext,
21 /*
22  * FUNCTION:
23  * ARGUMENTS:
24  * NOTES:
25  * NDIS 4.0
26  */
27 {
29 }
30 
31 
32 /*
33  * @unimplemented
34  */
35 VOID
36 EXPORT
38  IN NDIS_HANDLE NdisBindingContext,
41 /*
42  * FUNCTION:
43  * ARGUMENTS:
44  * NOTES:
45  * NDIS 4.0
46  */
47 {
49 }
50 
51 
52 /*
53  * @unimplemented
54  */
56 EXPORT
58  IN NDIS_HANDLE NdisAdapterHandle)
59 /*
60  * FUNCTION:
61  * ARGUMENTS:
62  * NOTES:
63  * NDIS 4.0
64  */
65 {
67 
68  return NDIS_STATUS_FAILURE;
69 }
70 
71 
72 /*
73  * @unimplemented
74  */
75 VOID
76 EXPORT
79  IN NDIS_HANDLE NdisMacHandle)
80 /*
81  * FUNCTION:
82  * ARGUMENTS:
83  * NOTES:
84  * NDIS 4.0
85  */
86 {
88 }
89 
90 
91 /*
92  * @unimplemented
93  */
95 EXPORT
100 /*
101  * FUNCTION:
102  * ARGUMENTS:
103  * NOTES:
104  * NDIS 4.0
105  */
106 {
108 
109  return NDIS_STATUS_FAILURE;
110 }
111 
112 
113 /*
114  * @unimplemented
115  */
116 VOID
117 EXPORT
120  IN NDIS_HANDLE SwitchHandle)
121 /*
122  * FUNCTION:
123  * ARGUMENTS:
124  * NOTES:
125  * NDIS 4.0
126  */
127 {
129 }
130 
131 
132 /*
133  * @unimplemented
134  */
135 BOOLEAN
136 EXPORT
139  OUT PNDIS_HANDLE SwitchHandle)
140 /*
141  * FUNCTION:
142  * ARGUMENTS:
143  * NOTES:
144  * NDIS 4.0
145  */
146 {
148 
149  return FALSE;
150 }
151 
152 
153 /*
154  * @unimplemented
155  */
157 EXPORT
161  OUT PLONGLONG TimeSent OPTIONAL,
162  OUT PLONGLONG TimeReceived OPTIONAL,
163  IN PUCHAR Buffer,
165  OUT PUINT SizeNeeded)
166 /*
167  * FUNCTION:
168  * ARGUMENTS:
169  * NOTES:
170  * NDIS 4.0
171  */
172 {
174 
175  return NDIS_STATUS_FAILURE;
176 }
177 
178 
179 /*
180  * @unimplemented
181  */
182 VOID
183 EXPORT
187  IN PUINT ChannelNumber,
188  OUT PNDIS_MCA_POS_DATA McaData)
189 /*
190  * FUNCTION:
191  * ARGUMENTS:
192  * NOTES:
193  * NDIS 4.0
194  */
195 {
197 }
198 
199 
200 /*
201  * @unimplemented
202  */
204 EXPORT
206  OUT PNDIS_HANDLE NdisAdapterHandle,
207  IN NDIS_HANDLE NdisMacHandle,
208  IN NDIS_HANDLE MacAdapterContext,
211  IN PVOID AdapterInformation)
212 /*
213  * FUNCTION:
214  * ARGUMENTS:
215  * NOTES:
216  * NDIS 4.0
217  */
218 {
220 
221  return NDIS_STATUS_FAILURE;
222 }
223 
224 
225 /*
226  * @unimplemented
227  */
228 VOID
229 EXPORT
231  IN NDIS_HANDLE NdisAdapterHandle)
232 /*
233  * FUNCTION:
234  * ARGUMENTS:
235  * NOTES:
236  * NDIS 4.0
237  */
238 {
240 }
241 
242 
243 /*
244  * @implemented
245  */
246 #undef NdisUpdateSharedMemory
247 VOID
248 EXPORT
250  IN NDIS_HANDLE NdisAdapterHandle,
251  IN ULONG Length,
254 /*
255  * FUNCTION:
256  * ARGUMENTS:
257  * NOTES:
258  * NDIS 4.0
259  */
260 {
261  /* No-op. */
262 }
263 
264 /*
265  * @unimplemented
266  */
267 VOID
268 EXPORT
271  IN ULONG SharedMemoryAddress,
272  OUT PUCHAR Buffer,
273  IN ULONG Length)
274 {
276 }
277 
278 /*
279  * @unimplemented
280  */
281 VOID
282 EXPORT
285  IN ULONG SharedMemoryAddress,
286  IN PUCHAR Buffer,
287  IN ULONG Length)
288 {
290 }
291 
292 
293 /*
294  * @unimplemented
295  */
296 VOID
297 EXPORT
303  OUT PUINT NumberOfFunctions)
304 {
306 }
307 
308 /* EOF */
#define IN
Definition: typedefs.h:39
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR _In_ ULONGLONG _In_ ULONGLONG _In_opt_ PEVENT_FILTER_DESCRIPTOR _Inout_opt_ PVOID CallbackContext
Definition: wmitypes.h:55
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS OpenErrorStatus
Definition: ndis.h:6008
VOID EXPORT NdisReleaseAdapterResources(IN NDIS_HANDLE NdisAdapterHandle)
Definition: 40stubs.c:230
unsigned char * PUCHAR
Definition: retypes.h:3
* PNDIS_STATUS
Definition: ndis.h:45
_In_ NDIS_HANDLE MiniportAdapterHandle
Definition: ndis.h:4668
BOOLEAN EXPORT NdisIMSwitchToMiniport(IN NDIS_HANDLE MiniportAdapterHandle, OUT PNDIS_HANDLE SwitchHandle)
Definition: 40stubs.c:137
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _In_ NDIS_HANDLE WrapperConfigurationContext
Definition: ndis.h:3944
NDIS_STATUS EXPORT NdisIMQueueMiniportCallback(IN NDIS_HANDLE MiniportAdapterHandle, IN W_MINIPORT_CALLBACK CallbackRoutine, IN PVOID CallbackContext)
Definition: 40stubs.c:96
int NDIS_STATUS
Definition: ntddndis.h:471
__GNU_EXTENSION typedef __int64 * PLONGLONG
Definition: ntbasedef.h:389
_Must_inspect_result_ _In_ PFLT_GET_OPERATION_STATUS_CALLBACK CallbackRoutine
Definition: fltkernel.h:1035
VOID EXPORT NdisUpdateSharedMemory(IN NDIS_HANDLE NdisAdapterHandle, IN ULONG Length, IN PVOID VirtualAddress, IN NDIS_PHYSICAL_ADDRESS PhysicalAddress)
Definition: 40stubs.c:249
NDIS_STATUS EXPORT NdisDeregisterAdapter(IN NDIS_HANDLE NdisAdapterHandle)
Definition: 40stubs.c:57
unsigned char BOOLEAN
VOID EXPORT NdisImmediateWriteSharedMemory(IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, IN PUCHAR Buffer, IN ULONG Length)
Definition: 40stubs.c:283
Definition: bufpool.h:45
VOID EXPORT NdisImmediateReadSharedMemory(IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, OUT PUCHAR Buffer, IN ULONG Length)
Definition: 40stubs.c:269
#define BufferSize
Definition: classpnp.h:419
VOID EXPORT NdisIMRevertBack(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE SwitchHandle)
Definition: 40stubs.c:118
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG _In_ ULONG SlotNumber
Definition: halfuncs.h:156
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1063
VOID EXPORT NdisReadMcaPosInformation(OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, IN PUINT ChannelNumber, OUT PNDIS_MCA_POS_DATA McaData)
Definition: 40stubs.c:184
_In_ ULONG _In_ BOOLEAN _Must_inspect_result_ PVOID * VirtualAddress
Definition: ndis.h:3791
VOID EXPORT NdisReadEisaSlotInformationEx(OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PUINT SlotNumber, OUT PNDIS_EISA_FUNCTION_INFORMATION *EisaData, OUT PUINT NumberOfFunctions)
Definition: 40stubs.c:298
Status
Definition: gdiplustypes.h:24
_Must_inspect_result_ _In_ PNDIS_HANDLE MacContext
Definition: ndis.h:6109
NDIS_STATUS EXPORT NdisRegisterAdapter(OUT PNDIS_HANDLE NdisAdapterHandle, IN NDIS_HANDLE NdisMacHandle, IN NDIS_HANDLE MacAdapterContext, IN NDIS_HANDLE WrapperConfigurationContext, IN PNDIS_STRING AdapterName, IN PVOID AdapterInformation)
Definition: 40stubs.c:205
unsigned int UINT
Definition: ndis.h:50
VOID(NTAPI * W_MINIPORT_CALLBACK)(IN NDIS_HANDLE MiniportAdapterContext, IN PVOID CallbackContext)
Definition: ndis.h:5885
VOID EXPORT NdisCompleteCloseAdapter(IN NDIS_HANDLE NdisBindingContext, IN NDIS_STATUS Status)
Definition: 40stubs.c:18
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
#define UNIMPLEMENTED
Definition: debug.h:115
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT _In_ NDIS_HANDLE _In_ NDIS_HANDLE _In_ PNDIS_STRING AdapterName
Definition: ndis.h:6013
_Must_inspect_result_ _In_ NDIS_HANDLE NdisBindingHandle
Definition: ndis.h:4735
VOID EXPORT NdisDeregisterMac(OUT PNDIS_STATUS Status, IN NDIS_HANDLE NdisMacHandle)
Definition: 40stubs.c:77
#define NDIS_STATUS_FAILURE
Definition: ndis.h:465
VOID EXPORT NdisCompleteOpenAdapter(IN NDIS_HANDLE NdisBindingContext, IN NDIS_STATUS Status, IN NDIS_STATUS OpenErrorStatus)
Definition: 40stubs.c:37
unsigned int * PUINT
Definition: ndis.h:50
NDIS_STATUS EXPORT NdisQueryReceiveInformation(IN NDIS_HANDLE NdisBindingHandle, IN NDIS_HANDLE MacContext, OUT PLONGLONG TimeSent OPTIONAL, OUT PLONGLONG TimeReceived OPTIONAL, IN PUCHAR Buffer, IN UINT BufferSize, OUT PUINT SizeNeeded)
Definition: 40stubs.c:158
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68