IDebugSymbolProvider::GetLanguage
This method gets the language that was used to compile the code at the debug address.
HRESULT GetLanguage(
IDebugAddress* pAddress,
GUID* pguidLanguage,
GUID* pguidLanguageVendor
);
int GetLanguage(
IDebugAddress pAddress,
out Guid pguidLanguage,
out Guid pguidLanguageVendor
);
Parameters
pAddress
[in] An address object represented by an IDebugAddress interface.pguidLanguage
[out] Returns a GUID that specifies the language.pguidLanguageVendor
[out] Returns a GUID that specifies the language vendor.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
The debug engine calls this method to obtain the information it needs to select the correct expression evaluator.