_VCOMM_Register_Port_Driver

include vcomm.inc

VxDCall _VCOMM_Register_Port_Driver, <OFFSET32 DriverControl>
or      eax, eax
jz      error_handler
 

Registers a port driver VxD. Uses the C calling convention.

DriverControl
Address of the port driver's DriverControl function. VCOMM calls this function to initialize a port.