_VCOMM_Get_Contention_Handler


include vcomm.inc

VxDCall _VCOMM_Get_Contention_Handler<OFFSET32 PortName>
or      eax, eax
jz      error_handler
mov     dwContentionHandler, eax

Returns a pointer to a function used to call a contention handler. The function is either in VCOMM itself or another VxD that manages contention for a VCOMM resource. It is used with the resource handle returned by VCOMM_Map_Name_To_Resource to make requests of the contention handler. The contention management requests are described below.

PortName

Buffer that contains the address of a null-terminated string specifying the name of the port or the friendly name of the port.

See also ACQUIRE_RESOURCE, VCOMM_Map_Name_To_Resource, RELEASE_RESOURCE, STEAL_RESOURCE, VCOMM_Map_Name_To_Resource