summaryrefslogtreecommitdiffstats
path: root/other-licenses/7zstub/src/7zip/UI/Explorer/MyMessages.h
blob: e3a755eef8b03c9f92ae243ca7d7047a651c992d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// MyMessages.h

#ifndef __MYMESSAGES_H
#define __MYMESSAGES_H

#include "Common/String.h"

void MyMessageBox(HWND window, LPCWSTR message);

inline void MyMessageBox(LPCWSTR message)
  {  MyMessageBox(0, message); }

void MyMessageBox(UINT32 id
    #ifdef LANG        
    ,UINT32 langID
    #endif
    );

void ShowErrorMessage(HWND window, DWORD errorMessage);
inline void ShowErrorMessage(DWORD errorMessage)
  { ShowErrorMessage(0, errorMessage); }
void ShowLastErrorMessage(HWND window = 0);

#endif