-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathIDebugBreakpoint.cs
More file actions
108 lines (84 loc) · 2.29 KB
/
Copy pathIDebugBreakpoint.cs
File metadata and controls
108 lines (84 loc) · 2.29 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
// 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("5bd9d474-5975-423a-b88b-65a8e7110e65")]
public interface IDebugBreakpoint
{
/* IDebugBreakpoint */
[PreserveSig]
int GetId(
[Out] out uint Id);
[PreserveSig]
int GetType(
[Out] out DEBUG_BREAKPOINT_TYPE BreakType,
[Out] out uint ProcType);
//FIX ME!!! Should try and get an enum for this
[PreserveSig]
int GetAdder(
[Out, MarshalAs(UnmanagedType.Interface)] out IDebugClient Adder);
[PreserveSig]
int GetFlags(
[Out] out DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
int AddFlags(
[In] DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
int RemoveFlags(
[In] DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
int SetFlags(
[In] DEBUG_BREAKPOINT_FLAG Flags);
[PreserveSig]
int GetOffset(
[Out] out ulong Offset);
[PreserveSig]
int SetOffset(
[In] ulong Offset);
[PreserveSig]
int GetDataParameters(
[Out] out uint Size,
[Out] out DEBUG_BREAKPOINT_ACCESS_TYPE AccessType);
[PreserveSig]
int SetDataParameters(
[In] uint Size,
[In] DEBUG_BREAKPOINT_ACCESS_TYPE AccessType);
[PreserveSig]
int GetPassCount(
[Out] out uint Count);
[PreserveSig]
int SetPassCount(
[In] uint Count);
[PreserveSig]
int GetCurrentPassCount(
[Out] out uint Count);
[PreserveSig]
int GetMatchThreadId(
[Out] out uint Id);
[PreserveSig]
int SetMatchThreadId(
[In] uint Thread);
[PreserveSig]
int GetCommand(
[Out, MarshalAs(UnmanagedType.LPStr)] StringBuilder Buffer,
[In] int BufferSize,
[Out] out uint CommandSize);
[PreserveSig]
int SetCommand(
[In, MarshalAs(UnmanagedType.LPStr)] string Command);
[PreserveSig]
int GetOffsetExpression(
[Out, MarshalAs(UnmanagedType.LPStr)] StringBuilder Buffer,
[In] int BufferSize,
[Out] out uint ExpressionSize);
[PreserveSig]
int SetOffsetExpression(
[In, MarshalAs(UnmanagedType.LPStr)] string Expression);
[PreserveSig]
int GetParameters(
[Out] out DEBUG_BREAKPOINT_PARAMETERS Params);
}
}