Edit

Share via


IDebugExpressionEvaluator::SetLocale

This method sets the language to use to create printable results.

Syntax

int SetLocale(
   ushort wLangID
);

Parameters

wLangID
[in] The language identifier.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

This method may be called many times while the expression evaluator (EE) is loaded, so the EE must be able to switch languages on the fly. The EE uses this locale to return error messages and strings in the appropriate language.

See also