Compartilhar via


IDebugProcess3::SetHostingProcessLanguage

This method sets the language that the process will be hosted under. This language can then be used by the debug engine (DE) to load the appropriate expression evaluator.

HRESULT SetHostingProcessLanguage(
   REFGUID guidLang
);
int SetHostingProcessLanguage(
   ref Guid guidLang
);

Parameters

  • guidLang
    [in] GUID of the language that the DE should use. Specify GUID_NULL (C++) or Guid.Empty (C#) to have the DE use the default language.

Return Value

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

Remarks

IDebugProcess3::GetHostingProcessLanguage can be used to retrieve the current language setting.

See Also

Reference

IDebugProcess3

IDebugProcess3::GetHostingProcessLanguage