libs/vkd3d: Add ID3D12Device interface stub.

This commit is contained in:
Józef Kucia
2016-09-21 12:57:24 +02:00
parent 52164aa79b
commit d6e2fe97a4
6 changed files with 677 additions and 2 deletions

View File

@@ -125,7 +125,9 @@ typedef struct SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
#ifndef _WIN32
# include <stddef.h>
# include <stdlib.h>
# include <string.h>
# define COM_NO_WINDOWS_H
@@ -174,6 +176,12 @@ typedef struct SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
# define REFGUID const GUID * const
# endif
#if defined(__cplusplus) && !defined(CINTERFACE)
# define IsEqualGUID(guid1, guid2) (!memcmp(&(guid1), &(guid2), sizeof(GUID)))
#else
# define IsEqualGUID(guid1, guid2) (!memcmp(guid1, guid2, sizeof(GUID)))
#endif
#endif /* _WIN32 */