mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Add simple replacement for event objects.
This naming convention for exported functions is used to be consistent with other D3D12* functions().
This commit is contained in:
@@ -171,6 +171,16 @@ typedef struct SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
|
||||
# define IsEqualGUID(guid1, guid2) (!memcmp(guid1, guid2, sizeof(GUID)))
|
||||
#endif
|
||||
|
||||
#define WAIT_OBJECT_0 (0)
|
||||
#define WAIT_TIMEOUT (1)
|
||||
#define WAIT_FAILED (~0u)
|
||||
#define INFINITE (~0u)
|
||||
|
||||
HANDLE WINAPI VKD3DCreateEvent(void);
|
||||
BOOL WINAPI VKD3DSignalEvent(HANDLE event);
|
||||
unsigned int WINAPI VKD3DWaitEvent(HANDLE event, unsigned int milliseconds);
|
||||
void WINAPI VKD3DDestroyEvent(HANDLE event);
|
||||
|
||||
#elif !defined(__WIDL__)
|
||||
|
||||
# include <windows.h>
|
||||
|
Reference in New Issue
Block a user