名前が指定されたメトリックの値文字列を取得します。
構文
private int GetMetricString(
string pszType,
ref Guid guidSection,
string pszMetric,
out string pbstrValue
);
パラメーター
pszType
[入力] メトリックの種類。
guidSection
[入力] セクションの一意識別子。
pszMetric
[入力] メトリックの名前。
pbstrValue
[出力] 該当するメトリックの値の文字列を返します。
戻り値
成功した場合は、S_OK
を返します。それ以外の場合は、エラー コードを返します。