send to vm

This commit is contained in:
Reece Wilson 2020-09-12 03:56:19 +01:00
parent c0c3d4e6b7
commit 9d598b61fe
3 changed files with 14 additions and 12 deletions

View File

@ -2,3 +2,7 @@
#include "ClangBsearch.hpp" #include "ClangBsearch.hpp"
#include "ClangMemCpy_s.hpp" #include "ClangMemCpy_s.hpp"
#if !defined(__cdecl)
#define __cdecl
#endif

View File

@ -1,6 +1,4 @@
#include <cstdint> #pragma once
#define __cdecl
typedef struct _GUID { typedef struct _GUID {
unsigned long Data1; unsigned long Data1;
@ -9,9 +7,8 @@ typedef struct _GUID {
unsigned char Data4[8]; unsigned char Data4[8];
} GUID; } GUID;
typedef size_t HANDLE;
#define UNREFERENCED_PARAMETER #define UNREFERENCED_PARAMETER
#include "MSVCSal.h"
#define DEFINE_ENUM_FLAG_OPERATORS(ENUMTYPE) \ #define DEFINE_ENUM_FLAG_OPERATORS(ENUMTYPE) \
extern "C++" { \ extern "C++" { \
@ -30,11 +27,6 @@ inline ENUMTYPE &operator ^= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((i
#define _countof(array) (sizeof(array) / sizeof(array[0])) #define _countof(array) (sizeof(array) / sizeof(array[0]))
#include "MSVCSal.h"
#include <stdbool.h>
#define BOOL int #define BOOL int
#define TRUE 1 #define TRUE 1
#define FALSE 0 #define FALSE 0

View File

@ -1,7 +1,13 @@
#pragma once #pragma once
#if !defined(__cdecl)
#define __cdecl
#endif
#if defined(_DXTX_NOWIN) #if defined(_DXTX_NOWIN)
using LONG = size_t; using LONG = size_t;
using HANDLE = size_t ;
#include "Win32DXG.hpp" #include "Win32DXG.hpp"
#include "Win32Errors.hpp" #include "Win32Errors.hpp"
#include "Win32WIC.hpp" #include "Win32WIC.hpp"