blob: 92e24b3e12368e45d2e5b2b8488dd817b4cfa03c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#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 <stdio.h>
#include <tchar.h>
#ifndef _MSC_VER
#include <inttypes.h>
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 <iostream>
#include <sstream>
#include <string>
#include <cassert>
#include <conio.h>
#include <sm_api_configure.h>
#ifdef SM_API
# undef SM_API
#endif
#ifdef STDCALL
# undef STDCALL
#endif
#define SM_API(type) type __declspec(dllimport) __stdcall
#define STDCALL __stdcall
#include <sm_api.h>
|