Constants (Debug Interface Access SDK)
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Constants (Debug Interface Access SDK).
These string constants can be used to identify various sections of a program debug database (PDB) file through the DIA SDK.
The following are declared as C/C++ macros.
| Macro | Value |
|---|---|
DiaTable_Symbols | L"Symbols" |
DiaTable_Sections | L"Sections" |
DiaTable_SrcFiles | L"SourceFiles" |
DiaTable_LineNums | L"LineNumbers" |
DiaTable_SegMap | L"SegmentMap" |
DiaTable_Dbg | L"Dbg" |
DiaTable_InjSrc | L"InjectedSource" |
DiaTable_FrameData | L"FrameData" |
Here is an example using one of these symbols:
HRESULT GetSymbolTable(IDiaEnumTables *pEnumTables, IDiaTable **pTable)
{
HRESULT hr;
VARIANT var;
var.vt = VT_BSTR;
var.bstrVal = SysAllocString( DiaTable_Symbols );
hr = pEnumTables->Item( var, pTable );
return(hr);
}
Header: dia2.h
Reference
Enumerations and Structures
Interfaces (Debug Interface Access SDK)
IDiaEnumTables::Item
Show: