cCall [pDriverControl], <DriverFunction, hDevNode, ReferenceData [,...]>
Called by the VCOMM to perform various actions. Uses the C calling convention.
Additional parameters are defined for specific driver-control functions. The only function currently defined is DC_InitializePort. At registration time, VCOMM calls this function once for each port the driver supports. If a port driver does not support plug-and-play, VCOMM calls the function exactly once. The port driver should check for the existence of the port, and then call the _VCOMM_Add_Port service. Following are the parameters specific to the DC_InitializePort driver-control function:
Name | Address of a null-terminated string specifying the port name. |
AllocIOBase | Base I/O address allocated to the port. |
AllocIrq | Interrupt request line (IRQ) allocated to the port. |
_VCOMM_Add_Port