| 
									
										
										
										
											2016-09-21 12:57:24 +02:00
										 |  |  | /* | 
					
						
							|  |  |  |  * Copyright 2016 Józef Kucia for CodeWeavers | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2017-06-16 21:05:54 +02:00
										 |  |  |  * This library is free software; you can redistribute it and/or | 
					
						
							|  |  |  |  * modify it under the terms of the GNU Lesser General Public | 
					
						
							|  |  |  |  * License as published by the Free Software Foundation; either | 
					
						
							|  |  |  |  * version 2.1 of the License, or (at your option) any later version. | 
					
						
							| 
									
										
										
										
											2016-09-21 12:57:24 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2017-06-16 21:05:54 +02:00
										 |  |  |  * This library is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
					
						
							|  |  |  |  * Lesser General Public License for more details. | 
					
						
							| 
									
										
										
										
											2016-09-21 12:57:24 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2017-06-16 21:05:54 +02:00
										 |  |  |  * You should have received a copy of the GNU Lesser General Public | 
					
						
							|  |  |  |  * License along with this library; if not, write to the Free Software | 
					
						
							|  |  |  |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | 
					
						
							| 
									
										
										
										
											2016-09-21 12:57:24 +02:00
										 |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cpp_quote("#ifndef __VKD3D_UNKNOWN_H") | 
					
						
							|  |  |  | cpp_quote("#define __VKD3D_UNKNOWN_H") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* For IDL only. */ | 
					
						
							|  |  |  | cpp_quote("#if 0") | 
					
						
							|  |  |  | typedef IID *REFIID; | 
					
						
							|  |  |  | typedef IID *REFGUID; | 
					
						
							| 
									
										
										
										
											2023-09-18 00:18:00 +03:00
										 |  |  | typedef GUID CLSID,*LPCLSID; | 
					
						
							|  |  |  | typedef CLSID *REFCLSID; | 
					
						
							| 
									
										
										
										
											2016-09-21 12:57:24 +02:00
										 |  |  | cpp_quote("#endif") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cpp_quote("#if !defined(_WIN32)") | 
					
						
							| 
									
										
										
										
											2016-09-28 13:38:28 +02:00
										 |  |  | typedef void *HWND; | 
					
						
							|  |  |  | typedef void *HMODULE; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-21 12:57:24 +02:00
										 |  |  | typedef struct LUID | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     DWORD LowPart; | 
					
						
							|  |  |  |     LONG HighPart; | 
					
						
							|  |  |  | } LUID; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef struct _RECT | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     LONG left; | 
					
						
							|  |  |  |     LONG top; | 
					
						
							|  |  |  |     LONG right; | 
					
						
							|  |  |  |     LONG bottom; | 
					
						
							|  |  |  | } RECT; | 
					
						
							|  |  |  | cpp_quote("#endif") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [uuid(00000000-0000-0000-C000-000000000046), object, local, pointer_default(unique)] | 
					
						
							|  |  |  | interface IUnknown | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     HRESULT QueryInterface(REFIID riid, void **object); | 
					
						
							|  |  |  |     ULONG AddRef(); | 
					
						
							|  |  |  |     ULONG Release(); | 
					
						
							| 
									
										
										
										
											2017-09-04 16:42:19 +02:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2016-09-21 12:57:24 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | cpp_quote("#endif   /* __VKD3D_UNKNOWN_H */") |