次の方法で共有


COM_Close (Compact 2013)

3/26/2014

This function closes the serial device. It is called after an application calls the CloseHandle function.

Syntax

BOOL COM_Close(
  DWORD pContext 
);

Parameters

  • pContext
    [in] Context pointer returned from the COM_Open function.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The Device Manager calls this routine to close the device.

Requirements

Header

Developer Implemented

Library

Serial.lib

See Also

Reference

Serial Port Driver MDD Functions
COM_Init
COM_Open