หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Retrieves the value of a metric given its name.
Syntax
private int GetMetricDword(
string pszType,
ref Guid guidSection,
string pszMetric,
out uint pdwValue
);
Parameters
pszType
[in] Type of the metric.
guidSection
[in] Unique identifier of the section.
pszMetric
[in] Name of the metric.
pdwValue
[out] Returns the value of the metric.
Return Value
If successful, returns S_OK; otherwise, returns an error code.