other-licenses/7zstub/src/7zip/UI/Explorer/MyMessages.h

branch
TOR_BUG_9701
changeset 8
97036ab72558
equal deleted inserted replaced
-1:000000000000 0:7857ce0005e1
1 // MyMessages.h
2
3 #ifndef __MYMESSAGES_H
4 #define __MYMESSAGES_H
5
6 #include "Common/String.h"
7
8 void MyMessageBox(HWND window, LPCWSTR message);
9
10 inline void MyMessageBox(LPCWSTR message)
11 { MyMessageBox(0, message); }
12
13 void MyMessageBox(UINT32 id
14 #ifdef LANG
15 ,UINT32 langID
16 #endif
17 );
18
19 void ShowErrorMessage(HWND window, DWORD errorMessage);
20 inline void ShowErrorMessage(DWORD errorMessage)
21 { ShowErrorMessage(0, errorMessage); }
22 void ShowLastErrorMessage(HWND window = 0);
23
24 #endif

mercurial