Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Retrieves the value string of the metric given its name.
Syntax
private int GetMetricString(
string pszType,
ref Guid guidSection,
string pszMetric,
out string pbstrValue
);
Parameters
pszType
[in] Type of the metric.
guidSection
[in] Unique identifier of the section.
pszMetric
[in] Name of the metric.
pbstrValue
[out] Returns the value string of the metric.
Return Value
If successful, returns S_OK; otherwise, returns an error code.