Casio IT-2000W Technical Reference Manual page 123

Casio pda technical reference manual
Table of Contents

Advertisement

GetCommState
int GetCommState(idComDev, lpdcb)
int idComDev;
DCB FAR * lpdcb;
The GetCommState function will acquire the device control block of the specified device.
< Parameter >
idComDev: Specifies the device for which the DCB is to be checked. The OpenComm function
returns this value.
This is a pointer to the DCB structure that receives the current device control block.
lpdcb:
The DCB structure defines how to control the device.
< Return value >
Returns zero if the function is terminated normally. Otherwise it returns a value less than zero.
Note on IrDA:
This function will read the parameter values set by the SetCommState function for functions that are
not currently supported.
/*Communication device ID */
/* Address of the device control block structure */
123

Advertisement

Table of Contents
loading

Table of Contents