62 | DSerialCmd
DSerialCmd
Purpose Use
port and then read back the specified number of response bytes
from the port.
Syntax
DWORD DSerialCmd (hdc, wScreenNumber, wnumCmdBytes,
to write command bytes to the PS/2
DSerialCmd
lpCmdBuffer, wnumResponseBytes, lpResponseBuffer,
dwTimeout)
Parameter Type
Name
HDC
hdc
UWORD
wScreenNumber
UWORD
wnumCmdBytes
UBYTE FAR *
CmdBuffer
®
serial
Description
Handle to the display-
device context.
Target screen number
(zero-based). This
determines which
board's serial port to
write to.
Number of bytes to
write to the command
buffer. If this is zero
(0), the function reads
the response bytes
without writing any
command bytes.
Buffer that contains
the command bytes
that are written to the
port. This parameter
can be
if
NULL
wnumCmdBytes
is zero (0).
(Cont.)