xref: /reactos/drivers/network/ndis/ndis/co.c (revision c2c66aff)
1 /*
2  * COPYRIGHT:   See COPYING in the top level directory
3  * PROJECT:     ReactOS NDIS library
4  * FILE:        ndis/co.c
5  * PURPOSE:     Services for connection-oriented NDIS drivers
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 <ndistapi.h>
14 
15 /*
16  * @unimplemented
17  */
18 NDIS_STATUS
19 EXPORT
NdisCoGetTapiCallId(IN NDIS_HANDLE NdisVcHandle,IN OUT PVAR_STRING TapiCallId)20 NdisCoGetTapiCallId(
21     IN NDIS_HANDLE  NdisVcHandle,
22     IN OUT PVAR_STRING  TapiCallId)
23 {
24     UNIMPLEMENTED;
25 
26     return NDIS_STATUS_FAILURE;
27 }
28 
29 /*
30  * @unimplemented
31  */
32 NDIS_STATUS
33 EXPORT
NdisCoAssignInstanceName(IN NDIS_HANDLE NdisVcHandle,IN PNDIS_STRING BaseInstanceName,OUT PNDIS_STRING VcInstanceName)34 NdisCoAssignInstanceName(
35     IN NDIS_HANDLE  NdisVcHandle,
36     IN PNDIS_STRING  BaseInstanceName,
37     OUT PNDIS_STRING  VcInstanceName)
38 {
39     UNIMPLEMENTED;
40 
41     return NDIS_STATUS_FAILURE;
42 }
43 
44 /*
45  * @unimplemented
46  */
47 NDIS_STATUS
48 EXPORT
NdisCoCreateVc(IN NDIS_HANDLE NdisBindingHandle,IN NDIS_HANDLE NdisAfHandle OPTIONAL,IN NDIS_HANDLE ProtocolVcContext,IN OUT PNDIS_HANDLE NdisVcHandle)49 NdisCoCreateVc(
50     IN  NDIS_HANDLE         NdisBindingHandle,
51     IN  NDIS_HANDLE         NdisAfHandle  OPTIONAL,
52     IN  NDIS_HANDLE         ProtocolVcContext,
53     IN  OUT PNDIS_HANDLE    NdisVcHandle)
54 /*
55  * FUNCTION:
56  * ARGUMENTS:
57  * NOTES:
58  *    NDIS 5.0
59  */
60 {
61     UNIMPLEMENTED;
62 
63     return NDIS_STATUS_FAILURE;
64 }
65 
66 
67 /*
68  * @unimplemented
69  */
70 NDIS_STATUS
71 EXPORT
NdisCoDeleteVc(IN NDIS_HANDLE NdisVcHandle)72 NdisCoDeleteVc(
73     IN  NDIS_HANDLE NdisVcHandle)
74 /*
75  * FUNCTION:
76  * ARGUMENTS:
77  * NOTES:
78  *    NDIS 5.0
79  */
80 {
81     UNIMPLEMENTED;
82 
83     return NDIS_STATUS_FAILURE;
84 }
85 
86 
87 /*
88  * @unimplemented
89  */
90 NDIS_STATUS
91 EXPORT
NdisCoRequest(IN NDIS_HANDLE NdisBindingHandle,IN NDIS_HANDLE NdisAfHandle OPTIONAL,IN NDIS_HANDLE NdisVcHandle OPTIONAL,IN NDIS_HANDLE NdisPartyHandle OPTIONAL,IN OUT PNDIS_REQUEST NdisRequest)92 NdisCoRequest(
93     IN      NDIS_HANDLE     NdisBindingHandle,
94     IN      NDIS_HANDLE     NdisAfHandle    OPTIONAL,
95     IN      NDIS_HANDLE     NdisVcHandle    OPTIONAL,
96     IN      NDIS_HANDLE     NdisPartyHandle OPTIONAL,
97     IN OUT  PNDIS_REQUEST   NdisRequest)
98 /*
99  * FUNCTION:
100  * ARGUMENTS:
101  * NOTES:
102  *    NDIS 5.0
103  */
104 {
105     UNIMPLEMENTED;
106 
107     return NDIS_STATUS_FAILURE;
108 }
109 
110 
111 /*
112  * @unimplemented
113  */
114 VOID
115 EXPORT
NdisCoRequestComplete(IN NDIS_STATUS Status,IN NDIS_HANDLE NdisAfHandle,IN NDIS_HANDLE NdisVcHandle OPTIONAL,IN NDIS_HANDLE NdisPartyHandle OPTIONAL,IN PNDIS_REQUEST NdisRequest)116 NdisCoRequestComplete(
117     IN  NDIS_STATUS     Status,
118     IN  NDIS_HANDLE     NdisAfHandle,
119     IN  NDIS_HANDLE     NdisVcHandle    OPTIONAL,
120     IN  NDIS_HANDLE     NdisPartyHandle OPTIONAL,
121     IN  PNDIS_REQUEST   NdisRequest)
122 /*
123  * FUNCTION:
124  * ARGUMENTS:
125  * NOTES:
126  *    NDIS 5.0
127  */
128 {
129     UNIMPLEMENTED;
130 }
131 
132 
133 /*
134  * @unimplemented
135  */
136 VOID
137 EXPORT
NdisCoSendPackets(IN NDIS_HANDLE NdisVcHandle,IN PPNDIS_PACKET PacketArray,IN UINT NumberOfPackets)138 NdisCoSendPackets(
139     IN  NDIS_HANDLE     NdisVcHandle,
140     IN  PPNDIS_PACKET   PacketArray,
141     IN  UINT            NumberOfPackets)
142 /*
143  * FUNCTION:
144  * ARGUMENTS:
145  * NOTES:
146  *    NDIS 5.0
147  */
148 {
149     UNIMPLEMENTED;
150 }
151 
152 
153 /*
154  * @unimplemented
155  */
156 VOID
157 EXPORT
NdisMCoActivateVcComplete(IN NDIS_STATUS Status,IN NDIS_HANDLE NdisVcHandle,IN PCO_CALL_PARAMETERS CallParameters)158 NdisMCoActivateVcComplete(
159     IN  NDIS_STATUS         Status,
160     IN  NDIS_HANDLE         NdisVcHandle,
161     IN  PCO_CALL_PARAMETERS CallParameters)
162 /*
163  * FUNCTION:
164  * ARGUMENTS:
165  * NOTES:
166  *    NDIS 5.0
167  */
168 {
169     UNIMPLEMENTED;
170 }
171 
172 
173 /*
174  * @unimplemented
175  */
176 VOID
177 EXPORT
NdisMCoDeactivateVcComplete(IN NDIS_STATUS Status,IN NDIS_HANDLE NdisVcHandle)178 NdisMCoDeactivateVcComplete(
179     IN  NDIS_STATUS Status,
180     IN  NDIS_HANDLE NdisVcHandle)
181 /*
182  * FUNCTION:
183  * ARGUMENTS:
184  * NOTES:
185  *    NDIS 5.0
186  */
187 {
188     UNIMPLEMENTED;
189 }
190 
191 
192 /*
193  * @unimplemented
194  */
195 VOID
196 EXPORT
NdisMCoIndicateReceivePacket(IN NDIS_HANDLE NdisVcHandle,IN PPNDIS_PACKET PacketArray,IN UINT NumberOfPackets)197 NdisMCoIndicateReceivePacket(
198     IN  NDIS_HANDLE     NdisVcHandle,
199     IN  PPNDIS_PACKET   PacketArray,
200     IN  UINT            NumberOfPackets)
201 /*
202  * FUNCTION:
203  * ARGUMENTS:
204  * NOTES:
205  *    NDIS 5.0
206  */
207 {
208     UNIMPLEMENTED;
209 }
210 
211 
212 /*
213  * @unimplemented
214  */
215 VOID
216 EXPORT
NdisMCoIndicateStatus(IN NDIS_HANDLE MiniportAdapterHandle,IN NDIS_HANDLE NdisVcHandle OPTIONAL,IN NDIS_STATUS GeneralStatus,IN PVOID StatusBuffer OPTIONAL,IN ULONG StatusBufferSize)217 NdisMCoIndicateStatus(
218     IN  NDIS_HANDLE MiniportAdapterHandle,
219     IN  NDIS_HANDLE NdisVcHandle    OPTIONAL,
220     IN  NDIS_STATUS GeneralStatus,
221     IN  PVOID       StatusBuffer    OPTIONAL,
222     IN  ULONG       StatusBufferSize)
223 /*
224  * FUNCTION:
225  * ARGUMENTS:
226  * NOTES:
227  *    NDIS 5.0
228  */
229 {
230     UNIMPLEMENTED;
231 }
232 
233 
234 /*
235  * @unimplemented
236  */
237 VOID
238 EXPORT
NdisMCoReceiveComplete(IN NDIS_HANDLE MiniportAdapterHandle)239 NdisMCoReceiveComplete(
240     IN  NDIS_HANDLE MiniportAdapterHandle)
241 /*
242  * FUNCTION:
243  * ARGUMENTS:
244  * NOTES:
245  *    NDIS 5.0
246  */
247 {
248     UNIMPLEMENTED;
249 }
250 
251 
252 /*
253  * @unimplemented
254  */
255 VOID
256 EXPORT
NdisMCoRequestComplete(IN NDIS_STATUS Status,IN NDIS_HANDLE MiniportAdapterHandle,IN PNDIS_REQUEST Request)257 NdisMCoRequestComplete(
258     IN  NDIS_STATUS     Status,
259     IN  NDIS_HANDLE     MiniportAdapterHandle,
260     IN  PNDIS_REQUEST   Request)
261 /*
262  * FUNCTION:
263  * ARGUMENTS:
264  * NOTES:
265  *    NDIS 5.0
266  */
267 {
268     UNIMPLEMENTED;
269 }
270 
271 
272 /*
273  * @unimplemented
274  */
275 VOID
276 EXPORT
NdisMCoSendComplete(IN NDIS_STATUS Status,IN NDIS_HANDLE NdisVcHandle,IN PNDIS_PACKET Packet)277 NdisMCoSendComplete(
278     IN  NDIS_STATUS     Status,
279     IN  NDIS_HANDLE     NdisVcHandle,
280     IN  PNDIS_PACKET    Packet)
281 /*
282  * FUNCTION:
283  * ARGUMENTS:
284  * NOTES:
285  *    NDIS 5.0
286  */
287 {
288     UNIMPLEMENTED;
289 }
290 
291 /* EOF */
292