correct VT_INT_PTR and VT_UINT_PTR
"Martin Fuchs" <[email protected]> Sun, 29 Feb 2004 14:04:33 +0100
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
Changelog:
* include/wtypes.h (VT_INT_PTR, VT_UINT_PTR): correct definition of VT_INT_PTR and VT_UINT_PTR
Index: wtypes.h
===================================================================
RCS file: /CVS/ReactOS/reactos/w32api/include/wtypes.h,v
retrieving revision 1.1
diff -u -p -d -r1.1 wtypes.h
--- wtypes.h 21 Feb 2004 09:20:34 -0000 1.1
+++ wtypes.h 29 Feb 2004 11:56:06 -0000
@@ -118,18 +118,11 @@ enum VARENUM {
VT_EMPTY,VT_NULL,VT_I2,VT_I4,VT_R4,VT_R8,VT_CY,VT_DATE,VT_BSTR,VT_DISPATCH,
VT_ERROR,VT_BOOL,VT_VARIANT,VT_UNKNOWN,VT_DECIMAL,VT_I1=16,VT_UI1,VT_UI2,VT_UI4,VT_I8,
VT_UI8,VT_INT,VT_UINT,VT_VOID,VT_HRESULT,VT_PTR,VT_SAFEARRAY,VT_CARRAY,VT_USERDEFINED,
- VT_LPSTR,VT_LPWSTR,VT_RECORD=36,VT_FILETIME=64,VT_BLOB,VT_STREAM,VT_STORAGE,VT_STREAMED_OBJECT,
+ VT_LPSTR,VT_LPWSTR,VT_RECORD=36,VT_INT_PTR=37,VT_UINT_PTR=38,VT_FILETIME=64,VT_BLOB,VT_STREAM,VT_STORAGE,VT_STREAMED_OBJECT,
VT_STORED_OBJECT,VT_BLOB_OBJECT,VT_CF,VT_CLSID,VT_BSTR_BLOB=0xfff,VT_VECTOR=0x1000,
VT_ARRAY=0x2000,VT_BYREF=0x4000,VT_RESERVED=0x8000,VT_ILLEGAL= 0xffff,VT_ILLEGALMASKED=0xfff,
VT_TYPEMASK=0xfff
};
-#ifdef _WIN64
-#define VT_INT_PTR VT_I8
-#define VT_UINT_PTR VT_UI8
-#else
-#define VT_INT_PTR VT_I4
-#define VT_UINT_PTR VT_UI4
-#endif
typedef struct _BYTE_SIZEDARR {
unsigned long clSize;
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click