MiniportCoDeleteVc (NDIS 5.1) function
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
The MiniportCoDeleteVc function is required for connection-oriented miniports. MiniportCoDeleteVc indicates that a VC is being torn down and deleted by NDIS.
Syntax
NDIS_STATUS MiniportCoDeleteVc(
_In_ NDIS_HANDLE MiniportVcContext
);
Parameters
- MiniportVcContext [in]
Specifies the handle to a miniport driver-allocated context area in which the miniport driver maintains its per-VC state. The miniport driver supplied this handle to NDIS from its MiniportCoCreateVc function.
Return value
Return code | Description |
---|---|
NDIS_STATUS_SUCCESS | Indicates that the miniport driver successfully freed all resources allocated for this VC. |
Remarks
MiniportCoDeleteVc must be written as a synchronous function and cannot, under any circumstances, return NDIS_STATUS_PENDING without causing a system-wide failure.
MiniportCoDeleteVc frees any resources allocated on a per-VC basis and stored in the context area MiniportVcContext. The miniport driver must also free the MiniportVcContext that is allocated in its MiniportCoCreateVc function.
Requirements
Target platform |
Desktop |
Version |
See MiniportCoDeleteVc. |
Header |
Ndis.h (include Ndis.h) |
IRQL |
<= DISPATCH_LEVEL |
See also