共用方式為


NdisMDeregisterMiniportDriver (Compact 2013)

3/26/2014

A miniport driver calls the NdisMDeregisterMiniportDriver function to release resources that it allocated with a previous call to the NdisMRegisterMiniportDriver function.

Syntax

VOID NdisMDeregisterMiniportDriver(
    NDIS_HANDLE NdisMiniportDriverHandle
);

Parameters

  • NdisMiniportDriverHandle
    [in] The handle that the miniport driver obtained in a previous call to NdisMRegisterMiniportDriver.

Return Value

None.

Remarks

If an error occurs in the miniport driver's DriverEntry routine after the NdisMRegisterMiniportDriver function returns successfully, the driver must call NdisMDeregisterMiniportDriver before DriverEntry returns. If DriverEntry succeeds, the driver must call NdisMDeregisterMiniportDriver from its MiniportDriverUnload function.

Requirements

Header

ndis.h

See Also

Reference

NDIS Functions for Miniport Drivers
DriverEntry
MiniportDriverUnload
NdisMRegisterMiniportDriver