Costanti (Debug Interface Access SDK)

Queste costanti di stringa possono essere utilizzate per identificare le diverse sezioni di un file di database di debug del programma (PDB) con il DIA SDK.

Costanti

Di seguito sono dichiarati come macro C/C++.

Macro

Valore

DiaTable_Symbols

" L " simbolo„

DiaTable_Sections

" L " sezioni„

DiaTable_SrcFiles

" L " SourceFiles„

DiaTable_LineNums

" L " LineNumbers„

DiaTable_SegMap

" L " SegmentMap„

DiaTable_Dbg

" L " Dbg„

DiaTable_InjSrc

" L " InjectedSource„

DiaTable_FrameData

" L " FrameData„

Esempio

Di seguito è riportato un esempio utilizzando uno di questi simboli:

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);
}

Requisiti

intestazione: dia2.h

Vedere anche

Riferimenti

IDiaEnumTables::Item

Altre risorse

Riferimenti di Debug Interface Access SDK

Enumerazioni e strutture

Interfacce (Debug Interface Access SDK)