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