diff --git a/include/native/windows/windows_base.h b/include/native/windows/windows_base.h index 5cdcb9ab..7ec0353c 100644 --- a/include/native/windows/windows_base.h +++ b/include/native/windows/windows_base.h @@ -40,6 +40,8 @@ typedef const void* LPCVOID; typedef size_t SIZE_T; +typedef int8_t INT8; + typedef uint8_t UINT8; typedef uint8_t BYTE; @@ -49,6 +51,8 @@ typedef uint16_t USHORT; typedef int64_t LONGLONG; typedef uint64_t ULONGLONG; +typedef intptr_t LONG_PTR; + typedef float FLOAT; #ifndef GUID_DEFINED @@ -327,3 +331,5 @@ typedef struct RGNDATA { #define FAILED(hr) ((HRESULT)(hr) < 0) #define SUCCEEDED(hr) ((HRESULT)(hr) >= 0) + +#define DEFINE_ENUM_FLAG_OPERATORS(T)