阅读:1169回复:10
找不到了
NDIS_PROTOCOL_CHARACTERISTICS结构定义,我怎么找不到了?汗到死!! :D
|
|
|
沙发#
发布于:2002-08-22 10:59
NDIS.h文件里面有啊!
|
|
板凳#
发布于:2002-08-22 11:07
翻了一片没找到,呵呵,只好搜 :D
|
|
|
地板#
发布于:2002-08-22 11:11
你就给贴一个吧
|
|
|
地下室#
发布于:2002-08-22 12:15
#if NDIS50
typedef NDIS50_PROTOCOL_CHARACTERISTICS NDIS_PROTOCOL_CHARACTERISTICS; #else #if NDIS40 typedef NDIS40_PROTOCOL_CHARACTERISTICS NDIS_PROTOCOL_CHARACTERISTICS; #else typedef NDIS30_PROTOCOL_CHARACTERISTICS NDIS_PROTOCOL_CHARACTERISTICS; #endif #endif typedef NDIS_PROTOCOL_CHARACTERISTICS *PNDIS_PROTOCOL_CHARACTERISTICS; |
|
5楼#
发布于:2002-08-22 12:16
typedef struct _NDIS50_PROTOCOL_CHARACTERISTICS
{ #ifdef __cplusplus NDIS40_PROTOCOL_CHARACTERISTICS Ndis40Chars; #else NDIS40_PROTOCOL_CHARACTERISTICS; #endif // // Placeholders for protocol extensions for PnP/PM etc. // PVOID ReservedHandlers[4]; // // Start of NDIS 5.0 extensions. // CO_SEND_COMPLETE_HANDLER CoSendCompleteHandler; CO_STATUS_HANDLER CoStatusHandler; CO_RECEIVE_PACKET_HANDLER CoReceivePacketHandler; CO_AF_REGISTER_NOTIFY_HANDLER CoAfRegisterNotifyHandler; } NDIS50_PROTOCOL_CHARACTERISTICS; |
|
6楼#
发布于:2002-08-22 12:16
typedef struct _NDIS40_PROTOCOL_CHARACTERISTICS
{ #ifdef __cplusplus NDIS30_PROTOCOL_CHARACTERISTICS Ndis30Chars; #else NDIS30_PROTOCOL_CHARACTERISTICS; #endif // // Start of NDIS 4.0 extensions. // RECEIVE_PACKET_HANDLER ReceivePacketHandler; // // PnP protocol entry-points // BIND_HANDLER BindAdapterHandler; UNBIND_HANDLER UnbindAdapterHandler; PNP_EVENT_HANDLER PnPEventHandler; UNLOAD_PROTOCOL_HANDLER UnloadHandler; } NDIS40_PROTOCOL_CHARACTERISTICS; |
|
7楼#
发布于:2002-08-22 12:17
typedef struct _NDIS30_PROTOCOL_CHARACTERISTICS
{ UCHAR MajorNdisVersion; UCHAR MinorNdisVersion; USHORT Filler; union { UINT Reserved; UINT Flags; }; OPEN_ADAPTER_COMPLETE_HANDLER OpenAdapterCompleteHandler; CLOSE_ADAPTER_COMPLETE_HANDLER CloseAdapterCompleteHandler; union { SEND_COMPLETE_HANDLER SendCompleteHandler; WAN_SEND_COMPLETE_HANDLER WanSendCompleteHandler; }; union { TRANSFER_DATA_COMPLETE_HANDLER TransferDataCompleteHandler; WAN_TRANSFER_DATA_COMPLETE_HANDLER WanTransferDataCompleteHandler; }; RESET_COMPLETE_HANDLER ResetCompleteHandler; REQUEST_COMPLETE_HANDLER RequestCompleteHandler; union { RECEIVE_HANDLER ReceiveHandler; WAN_RECEIVE_HANDLER WanReceiveHandler; }; RECEIVE_COMPLETE_HANDLER ReceiveCompleteHandler; STATUS_HANDLER StatusHandler; STATUS_COMPLETE_HANDLER StatusCompleteHandler; NDIS_STRING Name; |
|
8楼#
发布于:2002-08-22 12:17
算了,贴文件吧
|
|
9楼#
发布于:2002-08-22 13:39
呵呵,也不整理一下,辛苦辛苦 :D
|
|
|
10楼#
发布于:2002-08-22 13:47
跟Miniport的类似阿,只不过看你用的是那一个版本而已,然后typedef成同一个名字。
|
|