-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathIDebugBreakpoint2.cs
More file actions
130 lines (101 loc) · 2.94 KB
/
Copy pathIDebugBreakpoint2.cs
File metadata and controls
130 lines (101 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable 1591
namespace Microsoft.Diagnostics.Runtime.Interop
{
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("1b278d20-79f2-426e-a3f9-c1ddf375d48e")]
public interface IDebugBreakpoint2 : IDebugBreakpoint
{
/* IDebugBreakpoint */
[PreserveSig]
new int GetId(
[Out] out uint Id);
[PreserveSig]
new int GetType(
[Out] out DEBUG_BREAKPOINT_TYPE BreakType,
[Out] out uint ProcType);
//FIX ME!!! Should try and get an enum for this
[PreserveSig]
new int GetAdder(
[Out, MarshalAs(UnmanagedType.Interface)] out IDebugClient Adder);
[PreserveSig]
new int GetFlags(
[Out] out DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
new int AddFlags(
[In] DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
new int RemoveFlags(
[In] DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
new int SetFlags(
[In] DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
new int GetOffset(
[Out] out ulong Offset);
[PreserveSig]
new int SetOffset(
[In] ulong Offset);
[PreserveSig]
new int GetDataParameters(
[Out] out uint Size,
[Out] out DEBUG_BREAKPOINT_ACCESS_TYPE AccessType);
[PreserveSig]
new int SetDataParameters(
[In] uint Size,
[In] DEBUG_BREAKPOINT_ACCESS_TYPE AccessType);
[PreserveSig]
new int GetPassCount(
[Out] out uint Count);
[PreserveSig]
new int SetPassCount(
[In] uint Count);
[PreserveSig]
new int GetCurrentPassCount(
[Out] out uint Count);
[PreserveSig]
new int GetMatchThreadId(
[Out] out uint Id);
[PreserveSig]
new int SetMatchThreadId(
[In] uint Thread);
[PreserveSig]
new int GetCommand(
[Out, MarshalAs(UnmanagedType.LPStr)] StringBuilder Buffer,
[In] int BufferSize,
[Out] out uint CommandSize);
[PreserveSig]
new int SetCommand(
[In, MarshalAs(UnmanagedType.LPStr)] string Command);
[PreserveSig]
new int GetOffsetExpression(
[Out, MarshalAs(UnmanagedType.LPStr)] StringBuilder Buffer,
[In] int BufferSize,
[Out] out uint ExpressionSize);
[PreserveSig]
new int SetOffsetExpression(
[In, MarshalAs(UnmanagedType.LPStr)] string Expression);
[PreserveSig]
new int GetParameters(
[Out] out DEBUG_BREAKPOINT_PARAMETERS Params);
/* IDebugBreakpoint2 */
[PreserveSig]
int GetCommandWide(
[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder Buffer,
[In] int BufferSize,
[Out] out uint CommandSize);
[PreserveSig]
int SetCommandWide(
[In, MarshalAs(UnmanagedType.LPWStr)] string Command);
[PreserveSig]
int GetOffsetExpressionWide(
[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder Buffer,
[In] int BufferSize,
[Out] out uint ExpressionSize);
[PreserveSig]
int SetOffsetExpressionWide(
[In, MarshalAs(UnmanagedType.LPWStr)] string Command);
}
}