NDIS_MINIPORT_CO_CHARACTERISTICS structure

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 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntddndis/ns-ntddndis-_ndis_object_header">NDIS_OBJECT_HEADER</a> structure for the
 miniport driver CoNDIS characteristics structure (NDIS_MINIPORT_CO_CHARACTERISTICS). The driver sets the     
 <b>Type</b> member of the structure that 
 <b>Header</b> specifies to NDIS_OBJECT_TYPE_CO_MINIPORT_CHARACTERISTICS, the 
 <b>Revision</b> member to NDIS_MINIPORT_CO_CHARACTERISTICS_REVISION_1, and the 
 <b>Size</b> member to NDIS_SIZEOF_MINIPORT_CO_CHARACTERISTICS_REVISION_1.
    
    
        `Flags`

        Reserved for NDIS.
    
    
        `CoCreateVcHandler`

        The entry point of the driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-miniport_co_create_vc">MiniportCoCreateVc</a> function. If
 this entry point is for an integrated miniport call manager (MCM) driver, this member should be <b>NULL</b>,
 because NDIS calls such a driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-protocol_co_create_vc">ProtocolCoCreateVc</a> function
 instead. For more information about 
 <i>ProtocolCoCreateVc</i> in an MCM, see 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/ns-ndis-_ndis_co_call_manager_optional_handlers">
 NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS</a>.
    
    
        `CoDeleteVcHandler`

        The entry point of the driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-miniport_co_delete_vc">MiniportCoDeleteVc</a> function. If
 this entry point is for an integrated miniport call manager (MCM) driver, this member should be <b>NULL</b>,
 because NDIS calls such a driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-protocol_co_delete_vc">ProtocolCoDeleteVc</a> function
 instead. For more information about 
 <i>ProtocolCoDeleteVc</i> in an MCM, see 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/ns-ndis-_ndis_co_call_manager_optional_handlers">
 NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS</a>.
    
    
        `CoActivateVcHandler`

        The entry point of the driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-miniport_co_activate_vc">
 MiniportCoActivateVc</a> function.
    
    
        `CoDeactivateVcHandler`

        The entry point of the driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-miniport_co_deactivate_vc">
 MiniportCoDeactivateVc</a> function.
    
    
        `CoSendNetBufferListsHandler`

        The entry point of the driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-miniport_co_send_net_buffer_lists">
 MiniportCoSendNetBufferLists</a> function.
    
    
        `CoOidRequestHandler`

        The entry point of the driver's 
 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-miniport_co_oid_request">
 MiniportCoOidRequest</a> function.
    

## Remarks
    To specify entry points for CoNDIS, a miniport driver initializes an NDIS_MINIPORT_CO_CHARACTERISTICS
structure and passes it to the 
<a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nf-ndis-ndissetoptionalhandlers">
NdisSetOptionalHandlers</a> function.

The miniport driver calls NdisSetOptionalHandlers from the MiniportSetOptions function.

Requirements

   
Minimum supported client Supported in NDIS 6.0 and later.
Header ndis.h (include Ndis.h)
## See Also

    <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ndis/nc-ndis-miniport_co_activate_vc">MiniportCoActivateVc</a>

MiniportCoCreateVc

MiniportCoDeactivateVc

MiniportCoDeleteVc

MiniportCoOidRequest

MiniportCoSendNetBufferLists

MiniportSetOptions

NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS

NDIS_OBJECT_HEADER

NdisSetOptionalHandlers

ProtocolCoCreateVc

ProtocolCoDeleteVc