Opens a handle to a communications device.
COMMHANDLE OpenComm( LPCSTR lpCommName, // device name DWORD dwFlags // action and attributes );
lpCommName
dwFlags
INVALID_COMM_HANDLE
E_EXIST
E_PARAM
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.1 | intime/rt/include/comm.h | comm.h | comm.lib |