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
// Copyright © 2015, Peter Atashian
// Licensed under the MIT License <LICENSE.md>
//! Type definitions for the basic sized types.
#[cfg(target_arch = "x86")]
pub type POINTER_64_INT = ::c_ulong;
#[cfg(target_arch = "x86_64")]
pub type POINTER_64_INT = ::__uint64;
pub type INT8 = ::c_schar;
pub type PINT8 = *mut ::c_schar;
pub type INT16 = ::c_short;
pub type PINT16 = *mut ::c_short;
pub type INT32 = ::c_int;
pub type PINT32 = *mut ::c_int;
pub type INT64 = ::__int64;
pub type PINT64 = *mut ::__int64;
pub type UINT8 = ::c_uchar;
pub type PUINT8 = *mut ::c_uchar;
pub type UINT16 = ::c_ushort;
pub type PUINT16 = *mut ::c_ushort;
pub type UINT32 = ::c_uint;
pub type PUINT32 = *mut ::c_uint;
pub type UINT64 = ::__uint64;
pub type PUINT64 = *mut ::__uint64;
pub type LONG32 = ::c_int;
pub type PLONG32 = *mut ::c_int;
pub type ULONG32 = ::c_uint;
pub type PULONG32 = *mut ::c_uint;
pub type DWORD32 = ::c_uint;
pub type PDWORD32 = *mut ::c_uint;
#[cfg(target_arch = "x86")]
pub type INT_PTR = ::c_int;
#[cfg(target_arch = "x86_64")]
pub type INT_PTR = ::__int64;
#[cfg(target_arch = "x86")]
pub type PINT_PTR = *mut ::c_int;
#[cfg(target_arch = "x86_64")]
pub type PINT_PTR = *mut ::__int64;
#[cfg(target_arch = "x86")]
pub type UINT_PTR = ::c_uint;
#[cfg(target_arch = "x86_64")]
pub type UINT_PTR = ::__uint64;
#[cfg(target_arch = "x86")]
pub type PUINT_PTR = *mut ::c_uint;
#[cfg(target_arch = "x86_64")]
pub type PUINT_PTR = *mut ::__uint64;
#[cfg(target_arch = "x86")]
pub type LONG_PTR = ::c_long;
#[cfg(target_arch = "x86_64")]
pub type LONG_PTR = ::__int64;
#[cfg(target_arch = "x86")]
pub type PLONG_PTR = *mut ::c_long;
#[cfg(target_arch = "x86_64")]
pub type PLONG_PTR = *mut ::__int64;
#[cfg(target_arch = "x86")]
pub type ULONG_PTR = ::c_ulong;
#[cfg(target_arch = "x86_64")]
pub type ULONG_PTR = ::__uint64;
#[cfg(target_arch = "x86")]
pub type PULONG_PTR = *mut ::c_ulong;
#[cfg(target_arch = "x86_64")]
pub type PULONG_PTR = *mut ::__uint64;
#[cfg(target_arch = "x86_64")]
pub type SHANDLE_PTR = ::__int64;
#[cfg(target_arch = "x86_64")]
pub type HANDLE_PTR = ::__uint64;
#[cfg(target_arch = "x86_64")]
pub type UHALF_PTR = ::c_uint;
#[cfg(target_arch = "x86_64")]
pub type PUHALF_PTR = *mut ::c_uint;
#[cfg(target_arch = "x86_64")]
pub type HALF_PTR = ::c_int;
#[cfg(target_arch = "x86_64")]
pub type PHALF_PTR = *mut ::c_int;
#[cfg(target_arch = "x86")]
pub type SHANDLE_PTR = ::c_long;
#[cfg(target_arch = "x86")]
pub type HANDLE_PTR = ::c_ulong;
#[cfg(target_arch = "x86")]
pub type UHALF_PTR = ::c_ushort;
#[cfg(target_arch = "x86")]
pub type PUHALF_PTR = *mut ::c_ushort;
#[cfg(target_arch = "x86")]
pub type HALF_PTR = ::c_short;
#[cfg(target_arch = "x86")]
pub type PHALF_PTR = *mut ::c_short;
pub type SIZE_T = ULONG_PTR;
pub type PSIZE_T = *mut ULONG_PTR;
pub type SSIZE_T = LONG_PTR;
pub type PSSIZE_T = *mut LONG_PTR;
pub type DWORD_PTR = ULONG_PTR;
pub type PDWORD_PTR = *mut ULONG_PTR;
pub type LONG64 = ::__int64;
pub type PLONG64 = *mut ::__int64;
pub type ULONG64 = ::__uint64;
pub type PULONG64 = *mut ::__uint64;
pub type DWORD64 = ::__uint64;
pub type PDWORD64 = *mut ::__uint64;
pub type KAFFINITY = ULONG_PTR;
pub type PKAFFINITY = *mut KAFFINITY;