From 378d4b51e3112a3a27eabfd3aa97caec2bd5dafd Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期五, 05 七月 2024 17:17:50 +0800
Subject: [PATCH] update

---
 jrj/xframe/system/base.hpp |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/jrj/xframe/system/base.hpp b/jrj/xframe/system/base.hpp
index 13c9185..baf79a0 100644
--- a/jrj/xframe/system/base.hpp
+++ b/jrj/xframe/system/base.hpp
@@ -30,11 +30,14 @@
 
 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;
@@ -105,6 +108,8 @@
     LONG        cy;
 } SIZE, *PSIZE, *LPSIZE;
 
+#endif
+
 
 
 

--
Gitblit v1.9.3