-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathIDebugEventCallbacksWide.cs
More file actions
93 lines (77 loc) · 2.14 KB
/
Copy pathIDebugEventCallbacksWide.cs
File metadata and controls
93 lines (77 loc) · 2.14 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
// 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;
#pragma warning disable 1591
namespace Microsoft.Diagnostics.Runtime.Interop
{
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("0690e046-9c23-45ac-a04f-987ac29ad0d3")]
public interface IDebugEventCallbacksWide
{
[PreserveSig]
int GetInterestMask(
[Out] out DEBUG_EVENT Mask);
[PreserveSig]
int Breakpoint(
[In, MarshalAs(UnmanagedType.Interface)] IDebugBreakpoint2 Bp);
[PreserveSig]
int Exception(
[In] ref EXCEPTION_RECORD64 Exception,
[In] uint FirstChance);
[PreserveSig]
int CreateThread(
[In] ulong Handle,
[In] ulong DataOffset,
[In] ulong StartOffset);
[PreserveSig]
int ExitThread(
[In] uint ExitCode);
[PreserveSig]
int CreateProcess(
[In] ulong ImageFileHandle,
[In] ulong Handle,
[In] ulong BaseOffset,
[In] uint ModuleSize,
[In, MarshalAs(UnmanagedType.LPWStr)] string ModuleName,
[In, MarshalAs(UnmanagedType.LPWStr)] string ImageName,
[In] uint CheckSum,
[In] uint TimeDateStamp,
[In] ulong InitialThreadHandle,
[In] ulong ThreadDataOffset,
[In] ulong StartOffset);
[PreserveSig]
int ExitProcess(
[In] uint ExitCode);
[PreserveSig]
int LoadModule(
[In] ulong ImageFileHandle,
[In] ulong BaseOffset,
[In] uint ModuleSize,
[In, MarshalAs(UnmanagedType.LPWStr)] string ModuleName,
[In, MarshalAs(UnmanagedType.LPWStr)] string ImageName,
[In] uint CheckSum,
[In] uint TimeDateStamp);
[PreserveSig]
int UnloadModule(
[In, MarshalAs(UnmanagedType.LPWStr)] string ImageBaseName,
[In] ulong BaseOffset);
[PreserveSig]
int SystemError(
[In] uint Error,
[In] uint Level);
[PreserveSig]
int SessionStatus(
[In] DEBUG_SESSION Status);
[PreserveSig]
int ChangeDebuggeeState(
[In] DEBUG_CDS Flags,
[In] ulong Argument);
[PreserveSig]
int ChangeEngineState(
[In] DEBUG_CES Flags,
[In] ulong Argument);
[PreserveSig]
int ChangeSymbolState(
[In] DEBUG_CSS Flags,
[In] ulong Argument);
}
}