NDIS_PROTOCOL_CO_CHARACTERISTICS structure (ndis.h)

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

Syntax

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;

Members

Header

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.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Header ndis.h (include Ndis.h)

See also

NDIS_OBJECT_HEADER

NdisSetOptionalHandlers

ProtocolCoAfRegisterNotify

ProtocolCoReceiveNetBufferLists ProtocolCoSendNetBufferListsComplete

ProtocolCoStatusEx

ProtocolSetOptions