共用方式為


IDebugProcess3::GetHostingProcessLanguage

This method returns a GUID representing the language of this process as set by a call to IDebugProcess3::SetHostingProcessLanguage.

HRESULT GetHostingProcessLanguage(
   GUID* pguidLang
);
int GetHostingProcessLanguage(
   out Guid pguidLang
);

Parameters

  • pguidLang
    [out] The GUID of the language of this process. GUID_NULL (C++) or Guid.Empty (C#) means that the language is not set.

Return Value

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

See Also

Reference

IDebugProcess3

IDebugProcess3::SetHostingProcessLanguage