Block
Each code block is identified by a SymTagBlock symbol. Block symbols are used to identify nested scopes within functions.
Properties
The following table shows the properties that are valid for this symbol type.
Property |
Data type |
Description |
---|---|---|
DWORD |
Offset part of location; for details, see the LocationType. |
|
DWORD |
Section part of location; for details, see the LocationType. |
|
ULONGLONG |
Number of bytes of code in the block. |
|
IDiaSymbol* |
Symbol of the enclosing block or function. |
|
DWORD |
Returns the ID of the lexical parent symbol. |
|
DWORD |
Blocks have static locations; for details, see Symbol Locations. |
|
BSTR |
Returns the name of the block (which is usually an empty string). |
|
DWORD |
Returns the virtual address of this block relative to its lexical parent. |
|
DWORD |
Index ID of symbol. |
|
DWORD |
Returns SymTagBlock (one of the SymTagEnum values). |
|
ULONGLONG |
Returns the virtual address of this block within the executable. |