Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Common/MyWindows.h')
-rwxr-xr-xCommon/MyWindows.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Common/MyWindows.h b/Common/MyWindows.h
index 9cc0394d..e1ea41fb 100755
--- a/Common/MyWindows.h
+++ b/Common/MyWindows.h
@@ -26,10 +26,14 @@
typedef char CHAR;
typedef unsigned char UCHAR;
+
+#undef BYTE
typedef unsigned char BYTE;
typedef short SHORT;
typedef unsigned short USHORT;
+
+#undef WORD
typedef unsigned short WORD;
typedef short VARIANT_BOOL;
@@ -39,6 +43,8 @@ typedef unsigned int UINT;
typedef UInt32 UINT32;
typedef INT32 LONG; // LONG, ULONG and DWORD must be 32-bit
typedef UINT32 ULONG;
+
+#undef DWORD
typedef UINT32 DWORD;
typedef Int64 LONGLONG;
@@ -70,6 +76,7 @@ typedef LONG SCODE;
#define S_OK ((HRESULT)0x00000000L)
#define S_FALSE ((HRESULT)0x00000001L)
+#define E_NOTIMPL ((HRESULT)0x80004001L)
#define E_NOINTERFACE ((HRESULT)0x80004002L)
#define E_ABORT ((HRESULT)0x80004004L)
#define E_FAIL ((HRESULT)0x80004005L)