WORD stacom(cid, cs) | |||
int cid; | |||
COMSTAT FAR *cs; |
The stacom function returns the most recent error value and copies the current status for the specified device to the given structure. USER calls this function whenever an application calls the GetCommError function (USER.203).
cid
Identifies the communications device.
cs
Points to a COMSTAT structure.
The return value is the most recent error code.
The export ordinal for this function is 8.