forked from microsoft/win32metadata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Foundation.cs
66 lines (63 loc) · 3.21 KB
/
Foundation.cs
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
using System;
using System.Runtime.InteropServices;
using Windows.Win32.Interop;
namespace Windows.Win32.Foundation
{
public static unsafe partial class Apis
{
[NativeTypeName("HANDLE")]
public const int INVALID_HANDLE_VALUE = -1;
[NativeTypeName("HRESULT")]
public const int CO_E_NOTINITIALIZED = unchecked((int)0x800401F0);
[NativeTypeName("NTSTATUS")]
public const int STILL_ACTIVE = STATUS_PENDING;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_ACCESS_VIOLATION = STATUS_ACCESS_VIOLATION;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_DATATYPE_MISALIGNMENT = STATUS_DATATYPE_MISALIGNMENT;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_BREAKPOINT = STATUS_BREAKPOINT;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_SINGLE_STEP = STATUS_SINGLE_STEP;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_ARRAY_BOUNDS_EXCEEDED = STATUS_ARRAY_BOUNDS_EXCEEDED;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_FLT_DENORMAL_OPERAND = STATUS_FLOAT_DENORMAL_OPERAND;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_FLT_DIVIDE_BY_ZERO = STATUS_FLOAT_DIVIDE_BY_ZERO;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_FLT_INEXACT_RESULT = STATUS_FLOAT_INEXACT_RESULT;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_FLT_INVALID_OPERATION = STATUS_FLOAT_INVALID_OPERATION;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_FLT_OVERFLOW = STATUS_FLOAT_OVERFLOW;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_FLT_STACK_CHECK = STATUS_FLOAT_STACK_CHECK;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_FLT_UNDERFLOW = STATUS_FLOAT_UNDERFLOW;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_INT_DIVIDE_BY_ZERO = STATUS_INTEGER_DIVIDE_BY_ZERO;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_INT_OVERFLOW = STATUS_INTEGER_OVERFLOW;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_PRIV_INSTRUCTION = STATUS_PRIVILEGED_INSTRUCTION;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_IN_PAGE_ERROR = STATUS_IN_PAGE_ERROR;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_ILLEGAL_INSTRUCTION = STATUS_ILLEGAL_INSTRUCTION;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_NONCONTINUABLE_EXCEPTION = STATUS_NONCONTINUABLE_EXCEPTION;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_STACK_OVERFLOW = STATUS_STACK_OVERFLOW;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_INVALID_DISPOSITION = STATUS_INVALID_DISPOSITION;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_GUARD_PAGE = STATUS_GUARD_PAGE_VIOLATION;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_INVALID_HANDLE = STATUS_INVALID_HANDLE;
[NativeTypeName("NTSTATUS")]
public const int EXCEPTION_POSSIBLE_DEADLOCK = STATUS_POSSIBLE_DEADLOCK;
[NativeTypeName("NTSTATUS")]
public const int CONTROL_C_EXIT = STATUS_CONTROL_C_EXIT;
}
}