xj qian
2024-06-25 e500722d1be75cb4c6a2fedd5724e7277beaaaaf
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#pragma once
 
struct xrect
{
    int left;
    int top;
    int right;
    int bottom;
};
 
struct xrectf
{
    double left;
    double top;
    double right;
    double bottom;
};
 
struct xpoint
{
    int x;
    int y;
};
 
struct xpointf
{
    double x;
    double y;
};
 
typedef const wchar_t* string;
 
typedef long LONG;
typedef struct HWND__ {} * HWND;
typedef struct HMENU__ {} * HMENU;
typedef struct HDC__ {} * HDC;
typedef void *  HINSTANCE;
 
typedef wchar_t wchar;
typedef wchar* BSTR;
 
typedef const wchar_t* LPCTSTR;
typedef wchar_t* LPWSTR;
typedef wchar_t* LPCWSTR;
typedef wchar_t TCHAR;
typedef wchar_t* LPTSTR;
typedef int BOOL;
 
#define NULL 0
 
typedef __int64 INT_PTR, *PINT_PTR;
typedef unsigned __int64 UINT_PTR, *PUINT_PTR;
 
typedef __int64 LONG_PTR, *PLONG_PTR;
typedef unsigned __int64 ULONG_PTR, *PULONG_PTR;
typedef UINT_PTR            WPARAM;
typedef LONG_PTR            LPARAM;
typedef LONG_PTR            LRESULT;
typedef char    BYTE;
 
typedef unsigned short ushort;
typedef unsigned long       DWORD;
typedef DWORD   COLORREF;
 
struct SYSTEMTIME {  
        ushort wYear;  
        ushort wMonth;  
        ushort wDayOfWeek;  
        ushort wDay;  
        ushort wHour;  
        ushort wMinute;  
        ushort wSecond;  
        ushort wMilliseconds;
};
 
typedef struct tagRECT
{
    LONG    left;
    LONG    top;
    LONG    right;
    LONG    bottom;
} RECT, *PRECT, *LPRECT;
typedef const RECT * LPCRECT;
 
typedef struct tagPOINT
{
    LONG  x;
    LONG  y;
} POINT, *PPOINT,  *LPPOINT;
typedef POINT Point;
 
typedef struct tagSIZE
{
    LONG        cx;
    LONG        cy;
} SIZE, *PSIZE, *LPSIZE;