共用方式為


IDebugPortSupplier2::GetPortSupplierName

Gets the port supplier name.

HRESULT GetPortSupplierName( 
   BSTR* pbstrName
);
int GetPortSupplierName( 
   out string pbstrName
);

Parameters

  • pbstrName
    [out] Returns the name of the port supplier.

Return Value

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

See Also

Reference

IDebugPortSupplier2