Skip to content

Commit 7ac76d4

Browse files
committed
DIA SDK additions
1 parent e12d6cd commit 7ac76d4

File tree

4 files changed

+167
-0
lines changed

4 files changed

+167
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
description: "Retrieves the offset of the stack pad from the frame pointer register."
3+
title: "IDiaSymbol::get_framePadOffset | Microsoft Docs"
4+
ms.date: "04/27/2021"
5+
ms.topic: "reference"
6+
dev_langs:
7+
- "C++"
8+
helpviewer_keywords:
9+
- "IDiaSymbol::get_framePadOffset method"
10+
author: "mikejo5000"
11+
ms.author: "mikejo"
12+
manager: jmartens
13+
ms.workload:
14+
- "multiple"
15+
---
16+
# IDiaSymbol::get_framePadOffset
17+
18+
Retrieves the offset of the stack pad from the frame pointer register.
19+
20+
## Syntax
21+
22+
```C++
23+
HRESULT get_framePadOffset
24+
DWORD* pPadSize
25+
);
26+
```
27+
28+
#### Parameters
29+
30+
`pPadSize`
31+
32+
[out] Returns the offset of the stack pad.
33+
34+
## Return Value
35+
36+
If successful, returns `S_OK`; otherwise, returns `S_FALSE` or error code.
37+
38+
> [!NOTE]
39+
> A return value of `S_FALSE` means the property is not available for the symbol.
40+
41+
## Remarks
42+
43+
This method is supported starting in Visual Studio 2019 version 16.10.
44+
45+
## Requirements
46+
47+
|Requirement|Description|
48+
|-----------------|-----------------|
49+
|Header:|dia2.h|
50+
|Version:|DIA SDK v7.0|
51+
52+
## See also
53+
- [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
description: "Retrieves the extra pad size added to each function."
3+
title: "IDiaSymbol::get_framePadSize | Microsoft Docs"
4+
ms.date: "04/27/2021"
5+
ms.topic: "reference"
6+
dev_langs:
7+
- "C++"
8+
helpviewer_keywords:
9+
- "IDiaSymbol::get_framePadSize method"
10+
author: "mikejo5000"
11+
ms.author: "mikejo"
12+
manager: jmartens
13+
ms.workload:
14+
- "multiple"
15+
---
16+
# IDiaSymbol::get_framePadSize
17+
18+
Retrieves the extra pad size added to each function.
19+
20+
## Syntax
21+
22+
```C++
23+
HRESULT get_framePadSize
24+
DWORD* pPadSize
25+
);
26+
```
27+
28+
#### Parameters
29+
30+
`pPadSize`
31+
32+
[out] Returns the extra pad size added to each function.
33+
34+
## Return Value
35+
36+
If successful, returns `S_OK`; otherwise, returns `S_FALSE` or error code.
37+
38+
> [!NOTE]
39+
> A return value of `S_FALSE` means the property is not available for the symbol.
40+
41+
## Remarks
42+
43+
The extra pad size is typically used by Edit and Continue.
44+
45+
This method is supported starting in Visual Studio 2019 version 16.10.
46+
47+
## Requirements
48+
49+
|Requirement|Description|
50+
|-----------------|-----------------|
51+
|Header:|dia2.h|
52+
|Version:|DIA SDK v7.0|
53+
54+
## See also
55+
- [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
description: "Retrieves a value that tells whether the function was compiled with stack frame run-time error checking. This is the /RTCs flag."
3+
title: "IDiaSymbol::get_isRTCs | Microsoft Docs"
4+
ms.date: "04/27/2021"
5+
ms.topic: "reference"
6+
dev_langs:
7+
- "C++"
8+
helpviewer_keywords:
9+
- "IDiaSymbol::get_isRTCs method"
10+
author: "mikejo5000"
11+
ms.author: "mikejo"
12+
manager: jmartens
13+
ms.workload:
14+
- "multiple"
15+
---
16+
# IDiaSymbol::get_isRTCs
17+
18+
Returns a value that tells whether the function was compiled with stack frame run-time error checking. This is the /RTCs flag.
19+
20+
## Syntax
21+
22+
```C++
23+
HRESULT get_framePadSize
24+
DWORD* pRetVal
25+
);
26+
```
27+
28+
#### Parameters
29+
30+
`pRetVal`
31+
32+
[out] A pointer to a BOOL that specifies whether the function was compiled with stack frame run-time error checking.
33+
34+
## Return Value
35+
36+
If successful, returns `S_OK`; otherwise, returns `S_FALSE` or error code.
37+
38+
> [!NOTE]
39+
> A return value of `S_FALSE` means the property is not available for the symbol.
40+
41+
## Remarks
42+
43+
This method is supported starting in Visual Studio 2019 version 16.10.
44+
45+
## Requirements
46+
47+
|Requirement|Description|
48+
|-----------------|-----------------|
49+
|Header:|dia2.h|
50+
|Version:|DIA SDK v7.0|
51+
52+
## See also
53+
- [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md)

docs/debugger/debug-interface-access/toc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,10 @@
879879
href: idiasymbol-get-editandcontinueenabled.md
880880
- name: IDiaSymbol::get_farReturn
881881
href: idiasymbol-get-farreturn.md
882+
- name: IDiaSymbol::get_framePadOffset
883+
href: idiasymbol-get-framepadoffset.md
884+
- name: IDiaSymbol::get_framePadSize
885+
href: idiasymbol-get-framepadsize.md
882886
- name: IDiaSymbol::get_framePointerPresent
883887
href: idiasymbol-get-framepointerpresent.md
884888
- name: IDiaSymbol::get_frontEndBuild
@@ -969,6 +973,8 @@
969973
href: idiasymbol-get-ispointertomemberfunction.md
970974
- name: IDiaSymbol::get_isReturnValue
971975
href: idiasymbol-get-isreturnvalue.md
976+
- name: IDiaSymbol::get_isRTCs
977+
href: idiasymbol-get-isrtcs.md
972978
- name: IDiaSymbol::get_isSafeBuffers
973979
href: idiasymbol-get-issafebuffers.md
974980
- name: IDiaSymbol::get_isSdl

0 commit comments

Comments
 (0)