Share via


HWDeinit

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

BOOL HWDeinit(
  PVOID pContext 
);

Parameters

  • pContext
    [in] 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 not typically 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 lower layers of serial port drivers.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Serhw.h.

See Also

HWInit

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.