|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This function initializes the serial port driver.
HANDLE COM_Open( HANDLE pContext , DWORD AccessCode , DWORD ShareMode );
Returns a handle representing the serial port.
The user calls this function to open the serial device. The HANDLEreturned must be used by the application in all subsequent calls to the serial driver. This function starts the thread that handles the serial events. This function is exported to applications through CreateFile. If an OEM wishes to support the Telephony API (TAPI), and the OEM is writing their own serial port MDD layer, the OEM must ensure that the MDD layer supports multiple COM_Openrequests from applications. The serial port MDD implementations supplied by Microsoft all meet this requirement.
|Runs on||Versions||Defined in||Include||Link to|
|Windows CE OS||1.0 and later||Mdd.c|
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004