_PORTFUNCTIONS


include vcomm.inc

_PortFunctions STRUC
pPortSetState               DD  ?  ; address of PortSetState
pPortGetState               DD  ?  ; address of PortGetState
pPortSetup                  DD  ?  ; address of PortSetup
pPortTransmitChar           DD  ?  ; address of PortTransmitChar
pPortClose                  DD  ?  ; address of PortClose
pPortGetQueueStatus         DD  ?  ; address of PortGetQueueStatus
pPortClearError             DD  ?  ; address of PortClearError
pPortSetModemStatusShadow   DD  ?  ; address of PortSetModemStatusShadow
pPortGetProperties          DD  ?  ; address of PortGetProperties
pPortEscapeFunction         DD  ?  ; address of PortEscapeFunction
pPortPurge                  DD  ?  ; address of PortPurge
pPortSetEventMask           DD  ?  ; address of PortSetEventMask
pPortGetEventMask           DD  ?  ; address of PortGetEventMask
pPortWrite                  DD  ?  ; address of PortWrite
pPortRead                   DD  ?  ; address of PortRead
pPortEnableNotification     DD  ?  ; address of PortEnableNotification
pPortSetReadCallback        DD  ?  ; address of PortSetReadCallback
pPortSetWriteCallback       DD  ?  ; address of PortSetWriteCallback
pPortGetModemStatus         DD  ?  ; address of PortGetModemStatus
pPortGetCommConfig          DD  ?  ; address of PortGetCommConfig
pPortSetCommConfig          DD  ?  ; address of PortSetCommConfig
pPortGetWin32Error          DD  ?  ; address of PortGetWin32Error
_PortFunctions ENDS

Contains the addresses of port-driver functions. If a port driver does not provide a particular function, the corresponding field should be NULL. The _PORTDATA structure contains the address of the _PORTFUNCTIONS structure for a port driver.

See also PortClearError, PortClose, _PORTDATA, PortEnableNotification, PortEscapeFunction, PortGetCommState, PortGetEventMask, PortGetModemStatus, PortGetProperties, PortGetQueueStatus, PortPurge, PortRead, PortSetCommState, PortSetEventMask, PortSetModemStatusShadow, PortSetReadCallback, PortSetup, PortSetWriteCallback, PortTransmitChar, PortWrite