PortWrite


cCall [pPortWrite], <hPort, <OFFSET32 achBuffer> \
    cchRequested, <OFFSET32 cchWritten>>
or      eax, eax
jz      error_handler

Called by the _VCOMM_WriteComm service to write characters to the transmit queue for the specified port. Uses the C calling convention. Must be callable at interrupt time.

hPort

Address of a _PORTINFORMATION structure returned by the PortOpen function.

achBuffer

Address of an array of characters to write.

cchRequested

Number of characters to write.

cchWritten

Address of a 32-bit variable that receives the number of characters actually written.

See also _PORTINFORMATION, PortOpen, _VCOMM_WriteComm