#pragma once #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. #endif #include #include #ifndef _MSC_VER #include typedef uint64_t u_int64_t; typedef uint32_t u_int32_t; typedef uint16_t u_int16_t; typedef uint8_t u_int8_t; #endif #include #include #include #include #include #include #ifdef SM_API # undef SM_API #endif #ifdef STDCALL # undef STDCALL #endif #define SM_API(type) type __declspec(dllimport) __stdcall #define STDCALL __stdcall #include