HWDeinit

This function is called by the MDD layer to de-initialize the hardware when a device driver is unloaded.

Syntax

BOOL HWDeinit( PVOID pContext );

Parameters

pContext
Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the hardware device.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function is called when the device is no longer needed. It is never called for built-in devices. Rather, it is called for PC Card devices when the card is removed.

This function supports the implementation of the PDDs of serial port drivers. This function is defined in the header file SerHW.h, and is available in Windows CE version 1.0 and later.

See Also

HWInit