mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 19:24:31 +00:00
Update to lzma 23.01.
This commit is contained in:
@@ -18,12 +18,15 @@ void ShowErrorMessage(HWND window, LPCWSTR message)
|
||||
|
||||
void ShowErrorMessageHwndRes(HWND window, UINT resID)
|
||||
{
|
||||
ShowErrorMessage(window, LangString(resID));
|
||||
UString s = LangString(resID);
|
||||
if (s.IsEmpty())
|
||||
s.Add_UInt32(resID);
|
||||
ShowErrorMessage(window, s);
|
||||
}
|
||||
|
||||
void ShowErrorMessageRes(UINT resID)
|
||||
{
|
||||
ShowErrorMessageHwndRes(0, resID);
|
||||
ShowErrorMessageHwndRes(NULL, resID);
|
||||
}
|
||||
|
||||
static void ShowErrorMessageDWORD(HWND window, DWORD errorCode)
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
// MyMessages.h
|
||||
|
||||
#ifndef __MY_MESSAGES_H
|
||||
#define __MY_MESSAGES_H
|
||||
#ifndef ZIP7_INC_MY_MESSAGES_H
|
||||
#define ZIP7_INC_MY_MESSAGES_H
|
||||
|
||||
#include "../../../Common/MyString.h"
|
||||
|
||||
void ShowErrorMessage(HWND window, LPCWSTR message);
|
||||
inline void ShowErrorMessage(LPCWSTR message) { ShowErrorMessage(0, message); }
|
||||
inline void ShowErrorMessage(LPCWSTR message) { ShowErrorMessage(NULL, message); }
|
||||
|
||||
void ShowErrorMessageHwndRes(HWND window, UInt32 langID);
|
||||
void ShowErrorMessageRes(UInt32 langID);
|
||||
|
||||
void ShowLastErrorMessage(HWND window = 0);
|
||||
void ShowLastErrorMessage(HWND window = NULL);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user