共用方式為


IDebugEngine2::SetLocale

Sets the locale of the debug engine (DE).

HRESULT SetLocale( 
   WORD wLangID
);
int SetLocale( 
   ushort wLangID
);

Parameters

  • wLangID
    [in] Specifies the language locale. For example, 1033 for English.

Return Value

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

Remarks

This method is called by the session debug manager (SDM) to propagate the locale settings of the IDE so that strings returned by the DE are properly localized.

See Also

Reference

IDebugEngine2