Imported Upstream version 9.20
[platform/upstream/7zip.git] / CPP / 7zip / UI / Explorer / MyMessages.h
1 // MyMessages.h\r
2 \r
3 #ifndef __MYMESSAGES_H\r
4 #define __MYMESSAGES_H\r
5 \r
6 #include "Common/MyString.h"\r
7 #include "Common/Types.h"\r
8 \r
9 void ShowErrorMessage(HWND window, LPCWSTR message);\r
10 inline void ShowErrorMessage(LPCWSTR message) { ShowErrorMessage(0, message); }\r
11 \r
12 void ShowErrorMessageHwndRes(HWND window, UINT resID\r
13     #ifdef LANG\r
14     , UInt32 langID\r
15     #endif\r
16     );\r
17 \r
18 void ShowErrorMessageRes(UINT resID\r
19     #ifdef LANG\r
20     , UInt32 langID\r
21     #endif\r
22     );\r
23 \r
24 // void ShowErrorMessageDWORD(HWND window, DWORD errorCode);\r
25 // inline void ErrorMessageDWORD(DWORD errorCode) { ShowErrorMessageDWORD(0, errorCode); }\r
26 void ShowLastErrorMessage(HWND window = 0);\r
27 \r
28 #endif\r