共用方式為


IDebugPortSupplierDescription2::GetDescription

Retrieves the description and description metadata for the port supplier.

HRESULT GetDescription(
   PORT_SUPPLIER_DESCRIPTION_FLAGS *pdwFlags,
   BSTR *pbstrText
);
public int GetDescription(
   out enum_PORT_SUPPLIER_DESCRIPTION_FLAGS pdwFlags,
   out string pbstrText
);

Parameters

  • pdwFlags
    [out] Metadata flags for the description.

  • pbstrText
    [out] Description of the port supplier.

Return Value

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

See Also

Reference

IDebugPortSupplierDescription2