Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
This method sets a registry value known as a metric.
HRESULT SetMetric(
LPCOLESTR pszMetric,
VARIANT varValue
);
int SetMetric(
string pszMetric,
object varValue
);
Parameters
pszMetric
[in] The metric name.varValue
[in] Specifies the metric value.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
A metric is a registry value used to change a debug engine's behavior or to advertise supported functionality. This method can forward the call to the appropriate form of the SDK Helpers for Debugging function, SetMetric.