NDIS_PROTOCOL_CO_CHARACTERISTICS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ndis-_ndis_protocol_co_characteristics)

_NDIS_PROTOCOL_CO_CHARACTERISTICS structure

Description

The NDIS_PROTOCOL_CO_CHARACTERISTICS structure specifies CoNDIS entry points for CoNDIS protocol drivers.

Members

The 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.

Flags

Reserved for NDIS.

CoStatusHandlerEx

The entry point of the driver's ProtocolCoStatusEx function.

CoAfRegisterNotifyHandler

The entry point of the driver's ProtocolCoAfRegisterNotify function.

CoReceiveNetBufferListsHandler

The entry point of the driver's ProtocolCoReceiveNetBufferLists function.

CoSendNetBufferListsCompleteHandler

The entry point of the driver's ProtocolCoSendNetBufferListsComplete function.

Remarks

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.

See also

NDIS_OBJECT_HEADER

NdisSetOptionalHandlers

ProtocolCoAfRegisterNotify

ProtocolCoReceiveNetBufferLists

ProtocolCoSendNetBufferListsComplete

ProtocolCoStatusEx

ProtocolSetOptions