HWClose (Compact 2013)

3/26/2014

This function closes the device initialized by the HWInit function.

Syntax

ULONG HWClose(
  PVOID pContext 
);

Parameters

  • pContext
    [in] Pointer to a context structure returned by HWInit that contains implementation-specific data describing the device.

Return Value

Zero indicates success.

Remarks

This function supports the implementation of the lower layers of serial port drivers.

Requirements

Header

serhw.h

See Also

Reference

Serial Port Driver PDD Functions
HWInit
HWOpen