Ethan Lee
2334bbccb0
[native] Add a DECLARE_INTERFACE define for !CONST_VTABLE.
...
This helps avoid some compiler warnings on GCC in particular.
2024-01-26 17:48:44 +00:00
Ellie Hermaszewska
41191af3b1
A few more WinDef types in windows_base.h
...
These specific ones are used in MS's d3dx12 headers
2023-09-07 16:31:32 +02:00
Joshua Ashton
138f727fbb
[native] Add WAIT_* defines
2023-08-23 16:50:52 +02:00
Ellie Hermaszewska
dfbebba6b5
[native] Add CHAR and PCSTR to windows_base.h
2023-07-29 18:01:01 +01:00
Aleksey Komarov
20356148af
include: Add few defines and types in windows.h for DXVK Native ( #3307 )
...
* windows: add define for ZeroMemory
* windows: add few *LP types, DUMMYUNIONNAME*, __C89_NAMELESSSTRUCTNAME
---------
Co-authored-by: Joshie <joshua@froggi.es>
2023-05-03 12:58:33 +01:00
Ellie Hermaszewska
b81536458f
include: Implement some small utilities in native headers ( #3361 )
...
* Add QueryInterface template to IUnknown
As described here https://learn.microsoft.com/en-us/windows/win32/api/unknwn/nf-unknwn-iunknown-queryinterface\(q\)\?source\=recommendations
* Implement DEFINE_ENUM_FLAG_OPERATORS
* Add REFCLSID to windows_base.h
This is used by the latest d3d12 headers for D3D12GetInterface
2023-05-03 12:39:51 +01:00
Philip Rebohle
b06e82591e
[include] Add definitions for D3D12 header
2023-03-16 20:59:43 +01:00
Philip Rebohle
2659cfc674
[native] Add defines for DuplicateHandle flags
2022-09-02 14:25:12 +02:00
Joshua Ashton
2f3b3e64b4
[native] Add extra definitions needed for D3DCompiler
2022-08-26 19:52:26 +02:00
Joshua Ashton
92698be09a
[native] Add substitute Windows headers
...
Adds substutite Windows headers for use when building DXVK
natively for Linux.
The main one being windows_base.h which has all of the definitions.
It supports stuff like __uuidof using some template nonsense too.
2022-08-21 19:31:33 +01:00