mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Use HRESULT as preferred error code.
For consistency. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
e6e62e8a8e
commit
0e86a6b353
@@ -28,8 +28,6 @@
|
||||
# include <vulkan/vulkan.h>
|
||||
#endif /* VKD3D_NO_VULKAN_H */
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
@@ -45,12 +43,12 @@ enum vkd3d_structure_type
|
||||
VKD3D_FORCE_32_BIT_ENUM(VKD3D_STRUCTURE_TYPE),
|
||||
};
|
||||
|
||||
typedef bool (*PFN_vkd3d_signal_event)(HANDLE event);
|
||||
typedef HRESULT (*PFN_vkd3d_signal_event)(HANDLE event);
|
||||
|
||||
typedef void * (*PFN_vkd3d_thread)(void *data);
|
||||
|
||||
typedef void * (*PFN_vkd3d_create_thread)(PFN_vkd3d_thread thread_main, void *data);
|
||||
typedef bool (*PFN_vkd3d_join_thread)(void *thread);
|
||||
typedef HRESULT (*PFN_vkd3d_join_thread)(void *thread);
|
||||
|
||||
struct vkd3d_instance;
|
||||
|
||||
|
Reference in New Issue
Block a user