Edit

Share 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.

Syntax

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

See also