Skip to content

Delete unnecessary spaces #2384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,55 @@
title: "Constants (Debug Interface Access SDK) | Microsoft Docs"
ms.date: "11/04/2016"
ms.topic: "conceptual"
dev_langs:
dev_langs:
- "C++"
helpviewer_keywords:
helpviewer_keywords:
- "constants, DIA SDK"
- "DIA SDK, constants"
ms.assetid: aca4ec77-bc08-4cdd-a6ce-8d4a28ea5ea3
author: "mikejo5000"
ms.author: "mikejo"
manager: jillfra
ms.workload:
ms.workload:
- "multiple"
---
# 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.
## Constants
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"|
## Example
Here is an example using one of these symbols:
```C++
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);
}
```
## Requirements
Header: dia2.h
## See Also
[Reference](../../debugger/debug-interface-access/debug-interface-access-sdk-reference.md)
[Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
[Interfaces (Debug Interface Access SDK)](../../debugger/debug-interface-access/interfaces-debug-interface-access-sdk.md)
[IDiaEnumTables::Item](../../debugger/debug-interface-access/idiaenumtables-item.md)
These string constants can be used to identify various sections of a program debug database (PDB) file through the DIA SDK.

## Constants
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"|

## Example
Here is an example using one of these symbols:

```C++
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);
}
```

## Requirements
Header: dia2.h

## See Also
[Reference](../../debugger/debug-interface-access/debug-interface-access-sdk-reference.md)
[Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
[Interfaces (Debug Interface Access SDK)](../../debugger/debug-interface-access/interfaces-debug-interface-access-sdk.md)
[IDiaEnumTables::Item](../../debugger/debug-interface-access/idiaenumtables-item.md)