ReactOS  r75907
ms-dtyp.idl
Go to the documentation of this file.
1 cpp_quote("#ifndef _DTYP_IDL")
2 cpp_quote("#define _DTYP_IDL")
3 
4 /* Common data types */
5 cpp_quote("#ifndef _WINDEF_H")
6 typedef int BOOL, *PBOOL, *LPBOOL;
7 typedef unsigned char BYTE, *PBYTE, *LPBYTE;
8 typedef unsigned long DWORD, *PDWORD, *LPDWORD;
9 cpp_quote("#endif")
10 cpp_quote("#ifndef _BASETSD_H_")
11 typedef unsigned int DWORD32;
12 typedef unsigned __int64 DWORD64;
13 cpp_quote("#endif")
14 //typedef unsigned long error_status_t;
15 cpp_quote("#ifndef _WINDEF_H")
16 typedef int INT, *LPINT;
17 cpp_quote("#endif")
18 cpp_quote("#ifndef _BASETSD_H_")
19 typedef signed char INT8;
20 typedef signed short INT16;
21 typedef signed int INT32;
22 typedef signed __int64 INT64;
23 cpp_quote("#endif")
24 cpp_quote("#ifndef _BASETSD_H_")
25 typedef signed int LONG32;
26 typedef signed __int64 LONG64;
27 cpp_quote("#endif")
28 typedef unsigned __int64 QWORD;
29 cpp_quote("#ifndef _WINNT_")
30 typedef short SHORT;
31 cpp_quote("#endif")
32 typedef __int64 TIME;
33 cpp_quote("#ifndef _WINNT_")
34 typedef char CHAR, *PCHAR;
35 typedef unsigned char UCHAR, *PUCHAR;
36 cpp_quote("#endif")
37 cpp_quote("#ifndef _WINDEF_H")
38 typedef unsigned int UINT;
39 cpp_quote("#endif")
40 cpp_quote("#ifndef _BASETSD_H_")
41 typedef unsigned char UINT8;
42 typedef unsigned short UINT16;
43 typedef unsigned int UINT32;
44 typedef unsigned __int64 UINT64;
45 cpp_quote("#endif")
46 cpp_quote("#ifndef _WINNT_")
47 typedef unsigned long ULONG, *PULONG;
48 cpp_quote("#endif")
49 cpp_quote("#ifndef _BASETSD_H_")
50 typedef unsigned int ULONG32;
51 typedef unsigned __int64 ULONG64;
52 cpp_quote("#endif")
53 cpp_quote("#ifndef _WINNT_")
54 typedef unsigned __int64 ULONGLONG;
55 typedef unsigned short USHORT;
56 cpp_quote("#endif")
57 cpp_quote("#ifndef _WINDEF_H")
58 typedef unsigned short WORD, *PWORD, *LPWORD;
59 cpp_quote("#endif")
60 cpp_quote("#ifndef _WINNT_")
61 typedef long LONG, *PLONG;
62 cpp_quote("#endif")
63 cpp_quote("#ifndef _WINDEF_H")
64 typedef long *LPLONG;
65 cpp_quote("#endif")
66 cpp_quote("#ifndef _WINNT_")
67 typedef signed __int64 LONGLONG;
68 cpp_quote("#endif")
69 
70 cpp_quote("#ifndef _WINDEF_H")
71 typedef float FLOAT;
72 cpp_quote("#endif")
73 cpp_quote("#ifndef __wtypes_h__")
74 typedef double DOUBLE;
75 cpp_quote("#endif")
76 
77 cpp_quote("#ifndef _WINNT_")
78 typedef BYTE BOOLEAN, *PBOOLEAN;
79 cpp_quote("#endif")
80 cpp_quote("#ifndef _BASETSD_H_")
81 #ifdef _WIN64
82 typedef __int64 LONG_PTR;
83 typedef unsigned __int64 ULONG_PTR;
84 #else
85 typedef LONG LONG_PTR;
86 typedef ULONG ULONG_PTR;
87 #endif
88 typedef ULONG_PTR SIZE_T;
89 typedef ULONG_PTR DWORD_PTR;
90 cpp_quote("#endif")
91 typedef DWORD NET_API_STATUS;
92 cpp_quote("#ifndef _WINNT_")
93 typedef ULONGLONG DWORDLONG, *PDWORDLONG;
94 cpp_quote("#endif")
95 typedef DWORD HCALL;
96 //typedef DWORD HRESULT;
97 
98 cpp_quote("#ifndef _WINNT_")
99 typedef void *HANDLE;
100 typedef void /*VOID,*/ *PVOID;
101 cpp_quote("#endif")
102 cpp_quote("#ifndef __WINE_RPCDCE_H")
103 typedef void *RPC_BINDING_HANDLE;
104 cpp_quote("#endif")
105 typedef [context_handle] void *PCONTEXT_HANDLE;
106 typedef PCONTEXT_HANDLE *PPCONTEXT_HANDLE;
107 
108 cpp_quote("#ifndef _WINNT_")
109 typedef wchar_t WCHAR, *PWCHAR;
110 cpp_quote("#if 0")
111 typedef wchar_t UNICODE;
112 cpp_quote("#endif")
113 typedef const char *LPCSTR;
114 typedef const wchar_t *LPCWSTR;
115 typedef char *PSTR, *LPSTR;
116 typedef wchar_t *LPWSTR, *PWSTR;
117 cpp_quote("#endif")
118 typedef const wchar_t *LMCSTR;
119 typedef WCHAR *LMSTR;
120 cpp_quote("#ifndef __wtypes_h__")
121 typedef WCHAR *BSTR;
122 cpp_quote("#endif")
123 
124 cpp_quote("#if 0")
125 #ifdef Unicode
126 typedef LPCWSTR LPCTSTR;
127 typedef LPWSTR LPTSTR;
128 typedef WCHAR TCHAR;
129 #else
130 typedef LPCSTR LPCTSTR;
131 typedef LPSTR LPTSTR;
132 typedef CHAR TCHAR;
133 #endif
134 cpp_quote("#endif")
135 
136 /* Common data structures */
137 
138 cpp_quote("#if 0")
139 
140 typedef struct _FILETIME {
141  DWORD dwLowDateTime;
142  DWORD dwHighDateTime;
144 
145 typedef struct _GUID {
146  DWORD Data1;
147  WORD Data2;
148  WORD Data3;
149  BYTE Data4[8];
150 } GUID, UUID, *PGUID;
151 
152 typedef struct _LARGE_INTEGER {
153  LONGLONG QuadPart;
155 
156 typedef DWORD LCID;
157 
158 cpp_quote("#endif")
159 
160 typedef struct _RPC_UNICODE_STRING {
161  USHORT Length;
163  [size_is(MaximumLength/2), length_is(Length/2)] LPWSTR Buffer;
165 
166 cpp_quote("#if 0")
167 
168 typedef struct _SYSTEMTIME {
169  WORD wYear;
170  WORD wMonth;
171  WORD wDayOfWeek;
172  WORD wDay;
173  WORD wHour;
174  WORD wMinute;
175  WORD wSecond;
176  WORD wMilliseconds;
178 
179 typedef struct _UINT128 {
180  UINT64 lower;
181  UINT64 upper;
182 } UINT128, *PUINT128;
183 
184 typedef struct _ULARGE_INTEGER {
185  ULONGLONG QuadPart;
187 
188 cpp_quote("#endif")
189 
190 /* Constructed security types */
191 
192 cpp_quote("#if 0")
193 
195  BYTE Value[6];
197 
198 typedef struct _SID {
199  BYTE Revision;
202  [size_is(SubAuthorityCount)] DWORD SubAuthority[*];
203 } SID, *PSID;
204 
205 typedef struct _ACCESS_MASK {
206  DWORD ACCESS_MASK;
208 
209 typedef struct _ACE_HEADER {
210  UCHAR AceType;
211  UCHAR AceFlags;
212  USHORT AceSize;
214 
215 typedef struct _ACCESS_ALLOWED_ACE {
218  DWORD SidStart;
220 
224  DWORD Flags;
227  DWORD SidStart;
229 
230 typedef struct _ACCESS_DENIED_ACE {
233  DWORD SidStart;
235 
239  DWORD SidStart;
241 
245  DWORD SidStart;
247 
251  DWORD Flags;
254  DWORD SidStart;
256 
260  DWORD Flags;
263  DWORD SidStart;
265 
266 typedef struct _SYSTEM_AUDIT_ACE {
269  DWORD SidStart;
271 
275  DWORD SidStart;
277 
281  DWORD SidStart;
283 
287  DWORD Flags;
290  DWORD SidStart;
292 
293 typedef struct _ACL {
294  UCHAR AclRevision;
295  UCHAR Sbz1;
296  USHORT AclSize;
297  USHORT AceCount;
298  USHORT Sbz2;
299 } ACL, *PACL;
300 
301 typedef struct _SECURITY_DESCRIPTOR {
302  UCHAR Revision;
303  UCHAR Sbz1;
304  USHORT Control;
305  ULONG Owner;
306  ULONG Group;
307  ULONG Sacl;
308  ULONG Dacl;
310 
312 
313 cpp_quote("#endif")
314 
315 typedef struct _RPC_SID {
316  UCHAR Revision;
317  UCHAR SubAuthorityCount;
319  [size_is(SubAuthorityCount)] DWORD SubAuthority[];
320 } RPC_SID, *PRPC_SID;
321 
322 cpp_quote("#endif /* _DTYP_IDL */")
HANDLE HCALL
Definition: tapi.h:34
signed char * PCHAR
Definition: retypes.h:7
signed char INT8
struct _SYSTEM_AUDIT_ACE * PSYSTEM_AUDIT_ACE
wchar_t UNICODE
Definition: ms-dtyp.idl:111
WCHAR * LMSTR
Definition: ms-dtyp.idl:119
struct _ACCESS_ALLOWED_OBJECT_ACE ACCESS_ALLOWED_OBJECT_ACE
unsigned short WORD
Definition: ntddk_ex.h:93
UCHAR AceFlags
Definition: ms-dtyp.idl:211
unsigned int ULONG32
Definition: basetsd.h:124
DWORD Data1
Definition: ms-dtyp.idl:146
struct _ACE_HEADER * PACE_HEADER
struct _FILETIME * LPFILETIME
__int64 TIME
Definition: ms-dtyp.idl:32
struct _ACE_HEADER ACE_HEADER
Definition: scsiwmi.h:51
struct _ACCESS_DENIED_CALLBACK_OBJECT_ACE ACCESS_DENIED_CALLBACK_OBJECT_ACE
struct _SID SID
void * HANDLE
Definition: ms-dtyp.idl:99
struct _ACCESS_DENIED_CALLBACK_ACE * PACCESS_DENIED_CALLBACK_ACE
USHORT AclSize
Definition: ms-dtyp.idl:296
struct _ULARGE_INTEGER ULARGE_INTEGER
DWORD SubAuthority[*]
Definition: ms-dtyp.idl:202
unsigned char * PUCHAR
Definition: retypes.h:3
unsigned char * LPBYTE
Definition: typedefs.h:53
char CHAR
Definition: xmlstorage.h:175
wchar_t * PWSTR
Definition: ms-dtyp.idl:116
WCHAR * BSTR
Definition: ms-dtyp.idl:121
struct _ACCESS_ALLOWED_ACE ACCESS_ALLOWED_ACE
struct _ACCESS_ALLOWED_CALLBACK_ACE * PACCESS_ALLOWED_CALLBACK_ACE
struct _SYSTEM_AUDIT_CALLBACK_ACE SYSTEM_AUDIT_CALLBACK_ACE
struct _SECURITY_DESCRIPTOR * PSECURITY_DESCRIPTOR
Definition: security.c:101
struct _RPC_SID * PRPC_SID
struct _ACCESS_ALLOWED_OBJECT_ACE * PACCESS_ALLOWED_OBJECT_ACE
wchar_t * LPWSTR
Definition: ms-dtyp.idl:116
ACE_HEADER Header
Definition: ms-dtyp.idl:216
USHORT AceCount
Definition: ms-dtyp.idl:297
_In_ ULONG Revision
Definition: rtlfuncs.h:1104
int32_t INT
Definition: typedefs.h:57
struct _ACCESS_ALLOWED_CALLBACK_ACE ACCESS_ALLOWED_CALLBACK_ACE
DWORD DWORD
Definition: winlogon.h:75
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
UINT64 lower
Definition: ms-dtyp.idl:180
void * PVOID
Definition: ms-dtyp.idl:100
LONG LONG_PTR
Definition: ms-dtyp.idl:85
char * PSTR
Definition: ms-dtyp.idl:115
struct _GUID GUID
const char * LPCSTR
Definition: ms-dtyp.idl:113
const wchar_t * LMCSTR
Definition: ms-dtyp.idl:118
struct _RPC_UNICODE_STRING RPC_UNICODE_STRING
struct _RPC_SID RPC_SID
DWORD ACCESS_MASK
Definition: ms-dtyp.idl:206
DWORD dwHighDateTime
Definition: mapidefs.h:66
struct _FILETIME FILETIME
USHORT AceSize
Definition: ms-dtyp.idl:212
signed long long INT64
unsigned __int64 QWORD
Definition: ms-dtyp.idl:28
struct _ACCESS_ALLOWED_CALLBACK_OBJECT_ACE * PACCESS_ALLOWED_CALLBACK_OBJECT_ACE
ULONGLONG QuadPart
Definition: ms-dtyp.idl:185
unsigned int UINT32
long LONG
Definition: pedump.c:60
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
short SHORT
Definition: pedump.c:59
uint64_t ULONG64
Definition: typedefs.h:66
struct _SYSTEM_AUDIT_CALLBACK_OBJECT_ACE * PSYSTEM_AUDIT_CALLBACK_OBJECT_ACE
struct _SYSTEM_AUDIT_CALLBACK_OBJECT_ACE SYSTEM_AUDIT_CALLBACK_OBJECT_ACE
CHAR TCHAR
Definition: ms-dtyp.idl:132
struct _ACL ACL
struct _GUID UUID
struct _SYSTEMTIME * PSYSTEMTIME
struct _LARGE_INTEGER * PLARGE_INTEGER
struct _UINT128 UINT128
struct _SYSTEM_MANDATORY_LABEL_ACE SYSTEM_MANDATORY_LABEL_ACE
wchar_t * PWCHAR
Definition: ms-dtyp.idl:109
BOOL * PBOOL
Definition: windef.h:184
struct _ULARGE_INTEGER * PULARGE_INTEGER
Definition: drive.c:28
struct _ACL * PACL
Definition: security.c:108
WORD * PWORD
Definition: pedump.c:67
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
int64_t LONGLONG
Definition: typedefs.h:67
struct _ACCESS_DENIED_ACE * PACCESS_DENIED_ACE
int64_t LONG64
Definition: typedefs.h:67
unsigned char BOOLEAN
struct _FILETIME * PFILETIME
#define const
Definition: zconf.h:230
unsigned int BOOL
Definition: ntddk_ex.h:94
struct _SYSTEM_AUDIT_CALLBACK_ACE * PSYSTEM_AUDIT_CALLBACK_ACE
struct _GUID * PGUID
DWORD * PSECURITY_INFORMATION
Definition: ms-dtyp.idl:311
struct _SYSTEM_AUDIT_ACE SYSTEM_AUDIT_ACE
uint64_t ULONGLONG
Definition: typedefs.h:66
char * LPSTR
Definition: ms-dtyp.idl:115
struct _ACCESS_MASK ACCESS_MASK
ACCESS_MASK Mask
Definition: ms-dtyp.idl:232
struct _SID * PSID
Definition: eventlog.c:35
unsigned char UCHAR
Definition: xmlstorage.h:181
UCHAR AceType
Definition: ms-dtyp.idl:210
char * PBOOLEAN
Definition: retypes.h:11
struct _ACCESS_DENIED_CALLBACK_OBJECT_ACE * PACCESS_DENIED_CALLBACK_OBJECT_ACE
struct _RPC_UNICODE_STRING * PRPC_UNICODE_STRING
LPCSTR LPCTSTR
Definition: ms-dtyp.idl:130
USHORT Sbz2
Definition: ms-dtyp.idl:298
struct _SYSTEMTIME SYSTEMTIME
ULONG_PTR DWORD_PTR
Definition: ms-dtyp.idl:89
_In_ PSID_IDENTIFIER_AUTHORITY _In_ UCHAR SubAuthorityCount
Definition: rtlfuncs.h:1487
struct _SECURITY_DESCRIPTOR SECURITY_DESCRIPTOR
struct _ACCESS_MASK * PACCESS_MASK
ULONGLONG DWORDLONG
Definition: ms-dtyp.idl:93
UINTN UINT8 Value
Definition: acefiex.h:751
unsigned char BYTE
Definition: ntddk_ex.h:96
UCHAR Sbz1
Definition: ms-dtyp.idl:295
WORD Data2
Definition: ms-dtyp.idl:147
uint16_t * LPWORD
Definition: typedefs.h:55
UINT64 upper
Definition: ms-dtyp.idl:181
LPSTR LPTSTR
Definition: ms-dtyp.idl:131
UCHAR AclRevision
Definition: ms-dtyp.idl:294
int32_t * LPLONG
Definition: typedefs.h:57
struct _LARGE_INTEGER LARGE_INTEGER
BOOL * LPBOOL
Definition: windef.h:185
ULONG_PTR SIZE_T
Definition: ms-dtyp.idl:88
struct _ACCESS_ALLOWED_ACE * PACCESS_ALLOWED_ACE
uint64_t DWORD64
Definition: typedefs.h:66
unsigned int DWORD32
Definition: basetsd.h:125
ACCESS_MASK Mask
Definition: ms-dtyp.idl:217
struct _ACCESS_DENIED_CALLBACK_ACE ACCESS_DENIED_CALLBACK_ACE
unsigned short USHORT
Definition: pedump.c:61
DWORD LCID
Definition: ms-dtyp.idl:156
struct _ACCESS_ALLOWED_CALLBACK_OBJECT_ACE ACCESS_ALLOWED_CALLBACK_OBJECT_ACE
BYTE SubAuthorityCount
Definition: ms-dtyp.idl:200
void * RPC_BINDING_HANDLE
Definition: ms-dtyp.idl:103
unsigned short UINT16
unsigned int * PULONG
Definition: retypes.h:1
unsigned int UINT
Definition: ndis.h:50
ACCESS_MASK Mask
Definition: ms-dtyp.idl:268
ACE_HEADER Header
Definition: ms-dtyp.idl:267
unsigned char Data4[8]
Definition: scsiwmi.h:55
DWORD * PDWORD
Definition: pedump.c:68
WORD Data3
Definition: ms-dtyp.idl:148
struct _SID_IDENTIFIER_AUTHORITY SID_IDENTIFIER_AUTHORITY
float FLOAT
Definition: typedefs.h:68
uint32_t * LPDWORD
Definition: typedefs.h:58
unsigned int ULONG
Definition: retypes.h:1
struct _UINT128 * PUINT128
double DOUBLE
Definition: typedefs.h:69
signed int INT32
SID_IDENTIFIER_AUTHORITY IdentifierAuthority
Definition: ms-dtyp.idl:201
_In_ PSID_IDENTIFIER_AUTHORITY IdentifierAuthority
Definition: rtlfuncs.h:1487
wchar_t WCHAR
Definition: ms-dtyp.idl:109
ULONGLONG * PDWORDLONG
Definition: ms-dtyp.idl:93
BYTE Revision
Definition: ms-dtyp.idl:199
struct _SYSTEM_MANDATORY_LABEL_ACE * PSYSTEM_MANDATORY_LABEL_ACE
unsigned long long UINT64
ACE_HEADER Header
Definition: ms-dtyp.idl:231
unsigned char UINT8
signed int * PLONG
Definition: retypes.h:5
BYTE * PBYTE
Definition: pedump.c:66
ULONG ACCESS_MASK
Definition: nt_native.h:40
int LONG32
Definition: basetsd.h:120
const wchar_t * LPCWSTR
Definition: ms-dtyp.idl:114
DWORD dwLowDateTime
Definition: mapidefs.h:65
#define __int64
Definition: basetyps.h:16
struct _ACCESS_DENIED_ACE ACCESS_DENIED_ACE
LONGLONG QuadPart
Definition: typedefs.h:113
int * LPINT
Definition: windef.h:201
ULONG ULONG_PTR
Definition: ms-dtyp.idl:86
signed short INT16