共用方式為


IDebugPort2::GetPortSupplier

Gets the port supplier for this port.

HRESULT GetPortSupplier( 
   IDebugPortSupplier2** ppSupplier
);
int GetPortSupplier( 
   out IDebugPortSupplier2 ppSupplier
);

Parameters

  • ppSupplier
    [out] Returns an IDebugPortSupplier2 object represents the port supplier for a port.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugPort2

IDebugPortSupplier2