_VCOMM_Steal_Port


include vcomm.inc

VxDcall _VCOMM_Steal_Port <PortHandle, VMId>

Steals a port, if possible, from other owners. Before the caller steals a port, it must acquire it by calling _VCOMM_Acquire_Port.

PortHandle

Port handle returned by the original call to _VCOMM_Acquire_Port.

VMId

Handle of the VM that owns the port (-1 means the owner is a VxD).