ReactOS 0.4.15-dev-7098-ge0c17c3
ms-dtyp.idl
Go to the documentation of this file.
1cpp_quote("#ifndef _DTYP_IDL")
2cpp_quote("#define _DTYP_IDL")
3
4/* Common data types */
5cpp_quote("#ifndef _WINDEF_H")
6typedef int BOOL, *PBOOL, *LPBOOL;
7typedef unsigned char BYTE, *PBYTE, *LPBYTE;
8typedef unsigned long DWORD, *PDWORD, *LPDWORD;
9cpp_quote("#endif")
10cpp_quote("#ifndef _BASETSD_H_")
11typedef unsigned int DWORD32;
12typedef unsigned __int64 DWORD64;
13cpp_quote("#endif")
14//typedef unsigned long error_status_t;
15cpp_quote("#ifndef _WINDEF_H")
16typedef int INT, *LPINT;
17cpp_quote("#endif")
18cpp_quote("#ifndef _BASETSD_H_")
19typedef signed char INT8;
20typedef signed short INT16;
21typedef signed int INT32;
22typedef signed __int64 INT64;
23cpp_quote("#endif")
24cpp_quote("#ifndef _BASETSD_H_")
25typedef signed int LONG32;
26typedef signed __int64 LONG64;
27cpp_quote("#endif")
28typedef unsigned __int64 QWORD;
29cpp_quote("#ifndef _WINNT_")
30typedef short SHORT;
31cpp_quote("#endif")
32typedef __int64 TIME;
33cpp_quote("#ifndef _WINNT_")
34typedef char CHAR, *PCHAR;
35typedef unsigned char UCHAR, *PUCHAR;
36cpp_quote("#endif")
37cpp_quote("#ifndef _WINDEF_H")
38typedef unsigned int UINT;
39cpp_quote("#endif")
40cpp_quote("#ifndef _BASETSD_H_")
41typedef unsigned char UINT8;
42typedef unsigned short UINT16;
43typedef unsigned int UINT32;
44typedef unsigned __int64 UINT64;
45cpp_quote("#endif")
46cpp_quote("#ifndef _WINNT_")
47typedef unsigned long ULONG, *PULONG;
48cpp_quote("#endif")
49cpp_quote("#ifndef _BASETSD_H_")
50typedef unsigned int ULONG32;
51typedef unsigned __int64 ULONG64;
52cpp_quote("#endif")
53cpp_quote("#ifndef _WINNT_")
54typedef unsigned __int64 ULONGLONG;
55typedef unsigned short USHORT;
56cpp_quote("#endif")
57cpp_quote("#ifndef _WINDEF_H")
58typedef unsigned short WORD, *PWORD, *LPWORD;
59cpp_quote("#endif")
60cpp_quote("#ifndef _WINNT_")
61typedef long LONG, *PLONG;
62cpp_quote("#endif")
63cpp_quote("#ifndef _WINDEF_H")
64typedef long *LPLONG;
65cpp_quote("#endif")
66cpp_quote("#ifndef _WINNT_")
67typedef signed __int64 LONGLONG;
68cpp_quote("#endif")
69
70cpp_quote("#ifndef _WINDEF_H")
71typedef float FLOAT;
72cpp_quote("#endif")
73cpp_quote("#ifndef __wtypes_h__")
74typedef double DOUBLE;
75cpp_quote("#endif")
76
77cpp_quote("#ifndef _WINNT_")
78typedef BYTE BOOLEAN, *PBOOLEAN;
79cpp_quote("#endif")
80cpp_quote("#ifndef _BASETSD_H_")
81#ifdef _WIN64
82typedef __int64 LONG_PTR;
83typedef unsigned __int64 ULONG_PTR;
84#else
85typedef LONG LONG_PTR;
86typedef ULONG ULONG_PTR;
87#endif
88typedef ULONG_PTR SIZE_T;
89typedef ULONG_PTR DWORD_PTR;
90cpp_quote("#endif")
91typedef DWORD NET_API_STATUS;
92cpp_quote("#ifndef _WINNT_")
93typedef ULONGLONG DWORDLONG, *PDWORDLONG;
94cpp_quote("#endif")
95typedef DWORD HCALL;
96//typedef DWORD HRESULT;
97
98cpp_quote("#ifndef _WINNT_")
99typedef void *HANDLE;
100typedef void /*VOID,*/ *PVOID;
101cpp_quote("#endif")
102cpp_quote("#ifndef __WINE_RPCDCE_H")
103typedef void *RPC_BINDING_HANDLE;
104cpp_quote("#endif")
105typedef [context_handle] void *PCONTEXT_HANDLE;
106typedef PCONTEXT_HANDLE *PPCONTEXT_HANDLE;
107
108cpp_quote("#ifndef _WINNT_")
109typedef wchar_t WCHAR, *PWCHAR;
110cpp_quote("#if 0")
111typedef wchar_t UNICODE;
112cpp_quote("#endif")
113typedef const char *LPCSTR;
114typedef const wchar_t *LPCWSTR;
115typedef char *PSTR, *LPSTR;
116typedef wchar_t *LPWSTR, *PWSTR;
117cpp_quote("#endif")
118typedef const wchar_t *LMCSTR;
119typedef WCHAR *LMSTR;
120cpp_quote("#ifndef __wtypes_h__")
121typedef WCHAR *BSTR;
122cpp_quote("#endif")
123
124cpp_quote("#if 0")
125#ifdef Unicode
126typedef LPCWSTR LPCTSTR;
127typedef LPWSTR LPTSTR;
128typedef WCHAR TCHAR;
129#else
130typedef LPCSTR LPCTSTR;
131typedef LPSTR LPTSTR;
132typedef CHAR TCHAR;
133#endif
134cpp_quote("#endif")
135
136/* Common data structures */
137
138cpp_quote("#if 0")
139
140typedef struct _FILETIME {
141 DWORD dwLowDateTime;
142 DWORD dwHighDateTime;
143} FILETIME, *PFILETIME, *LPFILETIME;
144
145typedef struct _GUID {
146 DWORD Data1;
147 WORD Data2;
148 WORD Data3;
149 BYTE Data4[8];
150} GUID, UUID, *PGUID;
151
152typedef struct _LARGE_INTEGER {
153 LONGLONG QuadPart;
154} LARGE_INTEGER, *PLARGE_INTEGER;
155
156typedef DWORD LCID;
157
158cpp_quote("#endif")
159
160typedef struct _RPC_UNICODE_STRING {
161 USHORT Length;
162 USHORT MaximumLength;
163 [size_is(MaximumLength/2), length_is(Length/2)] LPWSTR Buffer;
164} RPC_UNICODE_STRING, *PRPC_UNICODE_STRING;
165
166cpp_quote("#if 0")
167
168typedef 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;
177} SYSTEMTIME, *PSYSTEMTIME;
178
179typedef struct _UINT128 {
180 UINT64 lower;
181 UINT64 upper;
182} UINT128, *PUINT128;
183
184typedef struct _ULARGE_INTEGER {
185 ULONGLONG QuadPart;
186} ULARGE_INTEGER, *PULARGE_INTEGER;
187
188cpp_quote("#endif")
189
190/* Constructed security types */
191
192cpp_quote("#if 0")
193
194typedef struct _SID_IDENTIFIER_AUTHORITY {
195 BYTE Value[6];
196} SID_IDENTIFIER_AUTHORITY;
197
198typedef struct _SID {
199 BYTE Revision;
200 BYTE SubAuthorityCount;
201 SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
202 [size_is(SubAuthorityCount)] DWORD SubAuthority[*];
203} SID, *PSID;
204
205typedef struct _ACCESS_MASK {
206 DWORD ACCESS_MASK;
207} ACCESS_MASK, *PACCESS_MASK;
208
209typedef struct _ACE_HEADER {
210 UCHAR AceType;
211 UCHAR AceFlags;
212 USHORT AceSize;
213} ACE_HEADER, *PACE_HEADER;
214
215typedef struct _ACCESS_ALLOWED_ACE {
216 ACE_HEADER Header;
217 ACCESS_MASK Mask;
218 DWORD SidStart;
219} ACCESS_ALLOWED_ACE, *PACCESS_ALLOWED_ACE;
220
221typedef struct _ACCESS_ALLOWED_OBJECT_ACE {
222 ACE_HEADER Header;
223 ACCESS_MASK Mask;
224 DWORD Flags;
225 GUID ObjectType;
226 GUID InheritedObjectType;
227 DWORD SidStart;
228} ACCESS_ALLOWED_OBJECT_ACE, *PACCESS_ALLOWED_OBJECT_ACE;
229
230typedef struct _ACCESS_DENIED_ACE {
231 ACE_HEADER Header;
232 ACCESS_MASK Mask;
233 DWORD SidStart;
234} ACCESS_DENIED_ACE, *PACCESS_DENIED_ACE;
235
236typedef struct _ACCESS_ALLOWED_CALLBACK_ACE {
237 ACE_HEADER Header;
238 ACCESS_MASK Mask;
239 DWORD SidStart;
240} ACCESS_ALLOWED_CALLBACK_ACE, *PACCESS_ALLOWED_CALLBACK_ACE;
241
242typedef struct _ACCESS_DENIED_CALLBACK_ACE {
243 ACE_HEADER Header;
244 ACCESS_MASK Mask;
245 DWORD SidStart;
246} ACCESS_DENIED_CALLBACK_ACE, *PACCESS_DENIED_CALLBACK_ACE;
247
248typedef struct _ACCESS_ALLOWED_CALLBACK_OBJECT_ACE {
249 ACE_HEADER Header;
250 ACCESS_MASK Mask;
251 DWORD Flags;
252 GUID ObjectType;
253 GUID InheritedObjectType;
254 DWORD SidStart;
255} ACCESS_ALLOWED_CALLBACK_OBJECT_ACE, *PACCESS_ALLOWED_CALLBACK_OBJECT_ACE;
256
257typedef struct _ACCESS_DENIED_CALLBACK_OBJECT_ACE {
258 ACE_HEADER Header;
259 ACCESS_MASK Mask;
260 DWORD Flags;
261 GUID ObjectType;
262 GUID InheritedObjectType;
263 DWORD SidStart;
264} ACCESS_DENIED_CALLBACK_OBJECT_ACE, *PACCESS_DENIED_CALLBACK_OBJECT_ACE;
265
266typedef struct _SYSTEM_AUDIT_ACE {
267 ACE_HEADER Header;
268 ACCESS_MASK Mask;
269 DWORD SidStart;
270} SYSTEM_AUDIT_ACE, *PSYSTEM_AUDIT_ACE;
271
272typedef struct _SYSTEM_AUDIT_CALLBACK_ACE {
273 ACE_HEADER Header;
274 ACCESS_MASK Mask;
275 DWORD SidStart;
276} SYSTEM_AUDIT_CALLBACK_ACE, *PSYSTEM_AUDIT_CALLBACK_ACE;
277
278typedef struct _SYSTEM_MANDATORY_LABEL_ACE {
279 ACE_HEADER Header;
280 ACCESS_MASK Mask;
281 DWORD SidStart;
282} SYSTEM_MANDATORY_LABEL_ACE, *PSYSTEM_MANDATORY_LABEL_ACE;
283
284typedef struct _SYSTEM_AUDIT_CALLBACK_OBJECT_ACE {
285 ACE_HEADER Header;
286 ACCESS_MASK Mask;
287 DWORD Flags;
288 GUID ObjectType;
289 GUID InheritedObjectType;
290 DWORD SidStart;
291} SYSTEM_AUDIT_CALLBACK_OBJECT_ACE, *PSYSTEM_AUDIT_CALLBACK_OBJECT_ACE;
292
293typedef struct _ACL {
294 UCHAR AclRevision;
295 UCHAR Sbz1;
296 USHORT AclSize;
297 USHORT AceCount;
298 USHORT Sbz2;
299} ACL, *PACL;
300
301typedef struct _SECURITY_DESCRIPTOR {
302 UCHAR Revision;
303 UCHAR Sbz1;
304 USHORT Control;
305 ULONG Owner;
306 ULONG Group;
307 ULONG Sacl;
308 ULONG Dacl;
309} SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR;
310
311typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION;
312
313cpp_quote("#endif")
314
315typedef struct _RPC_SID {
316 UCHAR Revision;
317 UCHAR SubAuthorityCount;
318 SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
319 [size_is(SubAuthorityCount)] DWORD SubAuthority[];
320} RPC_SID, *PRPC_SID;
321
322cpp_quote("#endif /* _DTYP_IDL */")
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491