The HandleControl property returns the handle of the controlling port.

LONG HandleControl;