다음을 통해 공유


IDebugSymbolProvider::GetLanguage

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This method gets the language that was used to compile the code at the debug address.

Syntax

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.

See Also

IDebugSymbolProvider
IDebugAddress