2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS NDIS User I/O driver
5 * PURPOSE: NDISUIO definitions
12 //#include <nuiouser.h>
16 struct _NDISUIO_ADAPTER_CONTEXT
18 /* Asynchronous completion */
19 NDIS_STATUS AsyncStatus
;
22 /* NDIS binding information */
23 NDIS_HANDLE BindingHandle
;
25 /* Reference count information */
27 LIST_ENTRY OpenEntryList
;
29 /* Receive packet list */
30 LIST_ENTRY PacketList
;
31 KEVENT PacketReadEvent
;
33 /* Global list entry */
38 } NDISUIO_ADAPTER_CONTEXT
, *PNDISUIO_ADAPTER_CONTEXT
;
40 struct _NDISUIO_OPEN_ENTRY
43 PFILE_OBJECT FileObject
;
45 /* Tracks how this adapter was opened (write-only or read-write) */
50 } NDISUIO_OPEN_ENTRY
, *PNDISUIO_OPEN_ENTRY
;
52 struct _NDISUIO_PACKET_ENTRY
54 /* Length of data at the end of the struct */
57 /* Entry on the packet list */
62 } NDISUIO_PACKET_ENTRY
, *PNDISUIO_PACKET_ENTRY
;
64 /* NDIS version info */
65 #define NDIS_MAJOR_VERISON 5
66 #define NDIS_MINOR_VERSION 0
68 #endif /* __NDISUIO_H */