libs/vkd3d-utils: Get rid of unnecessary WINAPI.

This commit is contained in:
Henri Verbeet 2016-10-17 17:56:08 +02:00
parent 53e0839698
commit 9d5e4daf84
4 changed files with 11 additions and 11 deletions

View File

@ -30,7 +30,7 @@
extern "C" {
#endif /* __cplusplus */
typedef BOOL (WINAPI *vkd3d_signal_event_pfn)(HANDLE event);
typedef BOOL (*vkd3d_signal_event_pfn)(HANDLE event);
struct vkd3d_device_create_info
{
@ -38,7 +38,7 @@ struct vkd3d_device_create_info
vkd3d_signal_event_pfn signal_event_pfn;
};
HRESULT WINAPI vkd3d_create_device(const struct vkd3d_device_create_info *create_info,
HRESULT vkd3d_create_device(const struct vkd3d_device_create_info *create_info,
REFIID riid, void **device);
#ifdef __cplusplus

View File

@ -34,10 +34,10 @@ extern "C" {
#define WAIT_FAILED (~0u)
#define INFINITE (~0u)
HANDLE WINAPI vkd3d_create_event(void);
BOOL WINAPI vkd3d_signal_event(HANDLE event);
unsigned int WINAPI vkd3d_wait_event(HANDLE event, unsigned int milliseconds);
void WINAPI vkd3d_destroy_event(HANDLE event);
HANDLE vkd3d_create_event(void);
BOOL vkd3d_signal_event(HANDLE event);
unsigned int vkd3d_wait_event(HANDLE event, unsigned int milliseconds);
void vkd3d_destroy_event(HANDLE event);
#ifdef __cplusplus
}

View File

@ -47,7 +47,7 @@ HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter,
}
/* Events */
HANDLE WINAPI vkd3d_create_event(void)
HANDLE vkd3d_create_event(void)
{
struct vkd3d_event *event;
int rc;
@ -78,7 +78,7 @@ HANDLE WINAPI vkd3d_create_event(void)
return event;
}
unsigned int WINAPI vkd3d_wait_event(HANDLE event, unsigned int milliseconds)
unsigned int vkd3d_wait_event(HANDLE event, unsigned int milliseconds)
{
struct vkd3d_event *impl = event;
int rc;
@ -121,7 +121,7 @@ unsigned int WINAPI vkd3d_wait_event(HANDLE event, unsigned int milliseconds)
return WAIT_FAILED;
}
BOOL WINAPI vkd3d_signal_event(HANDLE event)
BOOL vkd3d_signal_event(HANDLE event)
{
struct vkd3d_event *impl = event;
int rc;
@ -140,7 +140,7 @@ BOOL WINAPI vkd3d_signal_event(HANDLE event)
return TRUE;
}
void WINAPI vkd3d_destroy_event(HANDLE event)
void vkd3d_destroy_event(HANDLE event)
{
struct vkd3d_event *impl = event;
int rc;

View File

@ -23,7 +23,7 @@
#define INITGUID
#include "vkd3d_private.h"
HRESULT WINAPI vkd3d_create_device(const struct vkd3d_device_create_info *create_info,
HRESULT vkd3d_create_device(const struct vkd3d_device_create_info *create_info,
REFIID riid, void **device)
{
struct d3d12_device *object;