NDIS_MINIPORT_CO_CHARACTERISTICS structure (ndis.h)

The NDIS_MINIPORT_CO_CHARACTERISTICS structure specifies the CoNDIS entry points for a CoNDIS miniport driver.

Syntax

typedef struct _NDIS_MINIPORT_CO_CHARACTERISTICS {
  NDIS_OBJECT_HEADER                 Header;
  ULONG                              Flags;
  W_CO_CREATE_VC_HANDLER             CoCreateVcHandler;
  W_CO_DELETE_VC_HANDLER             CoDeleteVcHandler;
  W_CO_ACTIVATE_VC_HANDLER           CoActivateVcHandler;
  W_CO_DEACTIVATE_VC_HANDLER         CoDeactivateVcHandler;
  W_CO_SEND_NET_BUFFER_LISTS_HANDLER CoSendNetBufferListsHandler;
  W_CO_OID_REQUEST_HANDLER           CoOidRequestHandler;
} NDIS_MINIPORT_CO_CHARACTERISTICS, *PNDIS_MINIPORT_CO_CHARACTERISTICS;

Members

Header

The NDIS_OBJECT_HEADER structure for the miniport driver CoNDIS characteristics structure (NDIS_MINIPORT_CO_CHARACTERISTICS). The driver sets the
Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_CO_MINIPORT_CHARACTERISTICS, the Revision member to NDIS_MINIPORT_CO_CHARACTERISTICS_REVISION_1, and the Size member to NDIS_SIZEOF_MINIPORT_CO_CHARACTERISTICS_REVISION_1.

Flags

Reserved for NDIS.

CoCreateVcHandler

The entry point of the driver's MiniportCoCreateVc function. If this entry point is for an integrated miniport call manager (MCM) driver, this member should be NULL, because NDIS calls such a driver's ProtocolCoCreateVc function instead. For more information about ProtocolCoCreateVc in an MCM, see NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS.

CoDeleteVcHandler

The entry point of the driver's MiniportCoDeleteVc function. If this entry point is for an integrated miniport call manager (MCM) driver, this member should be NULL, because NDIS calls such a driver's ProtocolCoDeleteVc function instead. For more information about ProtocolCoDeleteVc in an MCM, see NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS.

CoActivateVcHandler

The entry point of the driver's MiniportCoActivateVc function.

CoDeactivateVcHandler

The entry point of the driver's MiniportCoDeactivateVc function.

CoSendNetBufferListsHandler

The entry point of the driver's MiniportCoSendNetBufferLists function.

CoOidRequestHandler

The entry point of the driver's MiniportCoOidRequest function.

Remarks

To specify entry points for CoNDIS, a miniport driver initializes an NDIS_MINIPORT_CO_CHARACTERISTICS structure and passes it to the NdisSetOptionalHandlers function.

The miniport driver calls NdisSetOptionalHandlers from the MiniportSetOptions function.

Requirements

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

See also

MiniportCoActivateVc

MiniportCoCreateVc

MiniportCoDeactivateVc

MiniportCoDeleteVc

MiniportCoOidRequest

MiniportCoSendNetBufferLists

MiniportSetOptions

NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS

NDIS_OBJECT_HEADER

NdisSetOptionalHandlers

ProtocolCoCreateVc

ProtocolCoDeleteVc