Up ] Docs Home ]

Call VCOMM.VXD entry point with

Back ] Next ]

Data:
AX = function number
0000h open COM/LPT port
Data: BX = port number
00h-7Fh = COMx
80h-FFh = LPTx
Return: DX:AX = handle???
0001h set comm state
Data: ???
Return: AX = ???
0002h setup comm port
Data: ???
Return: AX = status (0000h failed, FFFFh success)
0003h transmit character
Data: EBX = handle???
CL = character to transmit
Return: AX = status ???
0004h close comm port
Data: EBX = handle???
Return: AX = ???
0005h clear comm error
Data: EBX = handle???
EAX = ???
Return: AX = status???
0006h "EscapeCommFunction"
Data: EBX = handle???
CX = ???
EAX = ???
Return: DX:AX = ???
0007h purge buffers
Data: EBX = handle???
CX = ???
Return: AX = status ???
0008h set comm event mask
Data: EBX = handle???
CX = new event mask
Return: AX = status ???
0009h get comm event mask
Data: EBX = handle???
Return: AX = current event mask
000Ah ???
Data: EBX = handle???
Return: AX = ???
000Bh "WriteComm"
Data: EBX = handle???
CX = number of characters to write
ES???:BX buffer (if CX > 1)
SI???

=

low byte contains character if CX=1
Return: AX = status
EAX - high word may be destroyed
000Ch "ReadComm"
Data: EBX = handle???
CX = number of bytes to read
ES???:DI buffer
Return: AX = status ???
ZF - ???
000Dh set ??? callback
Data: EBX = handle???
CX = ???
DX ???
Return: AX = status???
else
Return: AX = 0000h
See Also: #02669,#02671