diff options
Diffstat (limited to 'other-licenses/7zstub/src/CPP/Common/MyException.h')
-rw-r--r-- | other-licenses/7zstub/src/CPP/Common/MyException.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/other-licenses/7zstub/src/CPP/Common/MyException.h b/other-licenses/7zstub/src/CPP/Common/MyException.h new file mode 100644 index 000000000..cd9fe6948 --- /dev/null +++ b/other-licenses/7zstub/src/CPP/Common/MyException.h @@ -0,0 +1,14 @@ +// Common/Exception.h
+
+#ifndef __COMMON_EXCEPTION_H
+#define __COMMON_EXCEPTION_H
+
+#include "MyWindows.h"
+
+struct CSystemException
+{
+ HRESULT ErrorCode;
+ CSystemException(HRESULT errorCode): ErrorCode(errorCode) {}
+};
+
+#endif
|