LiFan
2024-07-05 378d4b51e3112a3a27eabfd3aa97caec2bd5dafd
jrj/xframe/system/base.hpp
@@ -30,18 +30,21 @@
typedef const wchar_t* string;
#ifdef _XWIN
typedef long LONG;
typedef struct HWND__ {} * HWND;
typedef struct HMENU__ {} * HMENU;
typedef struct HDC__ {} * HDC;
typedef void *  HINSTANCE;
typedef struct HINSTANCE_ {}* HINSTANCE;
typedef struct HMODULE_ {}* HMODULE;
typedef short HFILE;
typedef wchar_t wchar;
typedef wchar* BSTR;
typedef const wchar_t* LPCTSTR;
typedef wchar_t* LPWSTR;
typedef wchar_t* LPCWSTR;
typedef const wchar_t* LPCWSTR;
typedef wchar_t TCHAR;
typedef wchar_t* LPTSTR;
typedef int BOOL;
@@ -56,11 +59,21 @@
typedef UINT_PTR            WPARAM;
typedef LONG_PTR            LPARAM;
typedef LONG_PTR            LRESULT;
typedef char   BYTE;
typedef unsigned char   BYTE;
typedef unsigned short ushort;
typedef unsigned long       DWORD;
typedef DWORD   COLORREF;
typedef unsigned short WORD;
typedef unsigned int UINT;
typedef char CHAR;
typedef wchar_t WCHAR;
typedef void* HANDLE;
typedef const char* LPCSTR;
typedef void* LPVOID;
typedef DWORD* LPDWORD;
typedef const void* LPCVOID;
struct SYSTEMTIME {  
      ushort wYear;  
@@ -95,6 +108,8 @@
    LONG        cy;
} SIZE, *PSIZE, *LPSIZE;
#endif