// ndis.h
typedef struct _NDIS_PROTOCOL_CO_CHARACTERISTICS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
CO_STATUS_HANDLER_EX CoStatusHandlerEx;
CO_AF_REGISTER_NOTIFY_HANDLER CoAfRegisterNotifyHandler;
CO_RECEIVE_NET_BUFFER_LISTS_HANDLER CoReceiveNetBufferListsHandler;
CO_SEND_NET_BUFFER_LISTS_COMPLETE_HANDLER CoSendNetBufferListsCompleteHandler;
} NDIS_PROTOCOL_CO_CHARACTERISTICS, *PNDIS_PROTOCOL_CO_CHARACTERISTICS;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_PROTOCOL_CO_CHARACTERISTICS structure specifies CoNDIS entry points for CoNDIS protocol drivers.
HeaderThe NDIS_OBJECT_HEADER structure for the protocol driver CoNDIS characteristics structure (NDIS_PROTOCOL_CO_CHARACTERISTICS). The driver sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_CO_PROTOCOL_CHARACTERISTICS, the Revision member to NDIS_PROTOCOL_CO_CHARACTERISTICS_REVISION_1, and the Size member to NDIS_SIZEOF_PROTOCOL_CO_CHARACTERISTICS_REVISION_1.
FlagsReserved for NDIS.
CoStatusHandlerExThe entry point of the driver's ProtocolCoStatusEx function.
CoAfRegisterNotifyHandlerThe entry point of the driver's ProtocolCoAfRegisterNotify function.
CoReceiveNetBufferListsHandlerThe entry point of the driver's ProtocolCoReceiveNetBufferLists function.
CoSendNetBufferListsCompleteHandlerThe entry point of the driver's ProtocolCoSendNetBufferListsComplete function.
To specify entry points for CoNDIS, a protocol driver initializes an NDIS_PROTOCOL_CO_CHARACTERISTICS structure and passes it to the NdisSetOptionalHandlers function.
The protocol driver calls NdisSetOptionalHandlers from the ProtocolSetOptions function.
ProtocolCoReceiveNetBufferLists
ProtocolCoSendNetBufferListsComplete