#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;