mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Add ID3D12Device interface stub.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user