Retrieves the current configuration of a communications device.
BOOLEAN GetCommConfig( COMMHANDLE hCommDev, // handle to communications service LPCOMMCONFIG lpCC, // configuration information LPDWORD lpdwSize // size of buffer );
hCommDev
lpCC
lpdwSize
lpCC
. When the function returns, the variable contains the number of bytes copied if the function succeeds, or the number of bytes required if the buffer was too small. 0
(zero)
E_DISCONNECTED
E_PARAM
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.1 | intime/rt/include/comm.h | comm.h | comm.lib |