VCOMM_Map_Name_To_Resource


include vcomm.inc

VxDCall VCOMM_Map_Name_To_Resource<OFFSET32 PortName>
or      eax, eax
jz      error_handler
mov     dwResourceHandle, eax

Returns a handle to a named resource. This handle is used in calls to the contention manager of a VCOMM resource.

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_Get_Contention_Handler