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:
Józef Kucia
2016-10-05 15:56:27 +02:00
parent a5e13cf53e
commit 733f720ee4
3 changed files with 125 additions and 0 deletions

View File

@@ -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>