Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates and adds a MetricValue whose value is a LONGLONG.
Syntax
virtual HRESULT AddMetricValue(
[in] LPCWSTR programmaticName,
[in] LONGLONG value,
[out] MetricValue **metricValue
) = 0;
Parameters
-
programmaticName [in]
-
The programmatic name.
-
value [in]
-
The value.
-
metricValue [out]
-
The MetricValue that this method creates.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
The programmatic name is the value of element MetricValue/ProgrammaticName.
The value is the value of element MetricValue/Value.
Requirements
| Minimum supported client |
Windows 7 [desktop apps only] |
| Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
| Header |
|
| DLL |
|