From b559ec3076676e68139d51b9ae5374f31b94a4e1 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 28 六月 2024 09:30:59 +0800
Subject: [PATCH] update message proc and edit proc
---
jrj/xframe/wobject/xbase.hpp | 41 ++++++++++++++++++++++++-----------------
1 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/jrj/xframe/wobject/xbase.hpp b/jrj/xframe/wobject/xbase.hpp
index 532c6ac..1fc14ab 100644
--- a/jrj/xframe/wobject/xbase.hpp
+++ b/jrj/xframe/wobject/xbase.hpp
@@ -209,24 +209,31 @@
{
};
-struct OVERLAPPED : public xstruct
-{
- int Internal;
- int InternalHigh;
- int Offset;
- int OffsetHigh;
- int hEvent;
-};
-struct OFSTRUCT : public xstruct
-{
- int cBytes;
- int fFixedDisk;
- int nErrCode;
- int Reserved1;
- int Reserved2;
- string szPathName;
-};
+typedef struct _OVERLAPPED {
+ ULONG_PTR Internal;
+ ULONG_PTR InternalHigh;
+ union {
+ struct {
+ DWORD Offset;
+ DWORD OffsetHigh;
+ } DUMMYSTRUCTNAME;
+ LPVOID Pointer;
+ } DUMMYUNIONNAME;
+
+ HANDLE hEvent;
+} OVERLAPPED, * LPOVERLAPPED;
+
+
+#define OFS_MAXPATHNAME 128
+typedef struct _OFSTRUCT {
+ BYTE cBytes;
+ BYTE fFixedDisk;
+ WORD nErrCode;
+ WORD Reserved1;
+ WORD Reserved2;
+ CHAR szPathName[OFS_MAXPATHNAME];
+} OFSTRUCT;
struct CELLNMHDR : public NMHDR
{
--
Gitblit v1.9.3