IDebugSettingsCallback2:: GetMetricGuid

检索命名的唯一标识符指标其名称。

HRESULT GetMetricGuid(
   LPCWSTR pszType,
   REFGUID guidSection,
   LPCWSTR pszMetric,
   GUID*   pguidValue
);
private int GetMetricGuid(
   string   pszType,
   ref Guid guidSection,
   string   pszMetric,
   out Guid pguidValue
);

参数

  • pszType
    [in] 类型的指标。

  • guidSection
    [in] 部分的唯一标识符。

  • pszMetric
    [in] 名称的指标。

  • pguidValue
    [out] 返回唯一标识符指标。

返回值

如果成功,则返回; S_OK否则,返回错误代码。

请参见

参考

IDebugSettingsCallback2