Поделиться через


COM_Close (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Serial Port Driver MDD Functions
COM_Init
COM_Open