Skip to content

Commit 7395422

Browse files
authored
Merge pull request #3910 from Jak-MS/public-repo-2384
[PUBLIC_MOVE] Pulling commits from public PR #2384
2 parents 6ed94b1 + 02f7d81 commit 7395422

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

docs/debugger/debug-interface-access/constants-debug-interface-access-sdk.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,55 @@
22
title: "Constants (Debug Interface Access SDK) | Microsoft Docs"
33
ms.date: "11/04/2016"
44
ms.topic: "conceptual"
5-
dev_langs:
5+
dev_langs:
66
- "C++"
7-
helpviewer_keywords:
7+
helpviewer_keywords:
88
- "constants, DIA SDK"
99
- "DIA SDK, constants"
1010
ms.assetid: aca4ec77-bc08-4cdd-a6ce-8d4a28ea5ea3
1111
author: "mikejo5000"
1212
ms.author: "mikejo"
1313
manager: jillfra
14-
ms.workload:
14+
ms.workload:
1515
- "multiple"
1616
---
1717
# Constants (Debug Interface Access SDK)
18-
These string constants can be used to identify various sections of a program debug database (PDB) file through the DIA SDK.
19-
20-
## Constants
21-
The following are declared as C/C++ macros.
22-
23-
|Macro|Value|
24-
|-----------|-----------|
25-
|`DiaTable_Symbols`|L"Symbols"|
26-
|`DiaTable_Sections`|L"Sections"|
27-
|`DiaTable_SrcFiles`|L"SourceFiles"|
28-
|`DiaTable_LineNums`|L"LineNumbers"|
29-
|`DiaTable_SegMap`|L"SegmentMap"|
30-
|`DiaTable_Dbg`|L"Dbg"|
31-
|`DiaTable_InjSrc`|L"InjectedSource"|
32-
|`DiaTable_FrameData`|L"FrameData"|
33-
34-
## Example
35-
Here is an example using one of these symbols:
36-
37-
```C++
38-
HRESULT GetSymbolTable(IDiaEnumTables *pEnumTables, IDiaTable **pTable)
39-
{
40-
HRESULT hr;
41-
VARIANT var;
42-
var.vt = VT_BSTR;
43-
var.bstrVal = SysAllocString( DiaTable_Symbols );
44-
hr = pEnumTables->Item( var, pTable );
45-
return(hr);
46-
}
47-
```
48-
49-
## Requirements
50-
Header: dia2.h
51-
52-
## See Also
53-
[Reference](../../debugger/debug-interface-access/debug-interface-access-sdk-reference.md)
54-
[Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
55-
[Interfaces (Debug Interface Access SDK)](../../debugger/debug-interface-access/interfaces-debug-interface-access-sdk.md)
56-
[IDiaEnumTables::Item](../../debugger/debug-interface-access/idiaenumtables-item.md)
18+
These string constants can be used to identify various sections of a program debug database (PDB) file through the DIA SDK.
19+
20+
## Constants
21+
The following are declared as C/C++ macros.
22+
23+
|Macro|Value|
24+
|-----------|-----------|
25+
|`DiaTable_Symbols`|L"Symbols"|
26+
|`DiaTable_Sections`|L"Sections"|
27+
|`DiaTable_SrcFiles`|L"SourceFiles"|
28+
|`DiaTable_LineNums`|L"LineNumbers"|
29+
|`DiaTable_SegMap`|L"SegmentMap"|
30+
|`DiaTable_Dbg`|L"Dbg"|
31+
|`DiaTable_InjSrc`|L"InjectedSource"|
32+
|`DiaTable_FrameData`|L"FrameData"|
33+
34+
## Example
35+
Here is an example using one of these symbols:
36+
37+
```C++
38+
HRESULT GetSymbolTable(IDiaEnumTables *pEnumTables, IDiaTable **pTable)
39+
{
40+
HRESULT hr;
41+
VARIANT var;
42+
var.vt = VT_BSTR;
43+
var.bstrVal = SysAllocString( DiaTable_Symbols );
44+
hr = pEnumTables->Item( var, pTable );
45+
return(hr);
46+
}
47+
```
48+
49+
## Requirements
50+
Header: dia2.h
51+
52+
## See Also
53+
[Reference](../../debugger/debug-interface-access/debug-interface-access-sdk-reference.md)
54+
[Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
55+
[Interfaces (Debug Interface Access SDK)](../../debugger/debug-interface-access/interfaces-debug-interface-access-sdk.md)
56+
[IDiaEnumTables::Item](../../debugger/debug-interface-access/idiaenumtables-item.md)

0 commit comments

Comments
 (0)