vkd3d/include/vkd3d_unknown.idl
Martin Storsjö 5d13a90e37 include: Add DirectX 12 Agility SDK definitions.
This ports parts of commit 83625459c8227b0bd7b86c18946a35d3a806c80d
from wine.git into vkd3d.

Signed-off-by: Martin Storsjö <martin@martin.st>
2023-09-18 21:04:56 +02:00

58 lines
1.5 KiB
Plaintext

/*
* Copyright 2016 Józef Kucia for CodeWeavers
*
* 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.
*
* 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.
*
* 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
*/
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;
typedef GUID CLSID,*LPCLSID;
typedef CLSID *REFCLSID;
cpp_quote("#endif")
cpp_quote("#if !defined(_WIN32)")
typedef void *HWND;
typedef void *HMODULE;
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();
}
cpp_quote("#endif /* __VKD3D_UNKNOWN_H */")