mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 10:11:38 -06:00
21.02
This commit is contained in:
@@ -67,12 +67,12 @@ bool g_LVN_ITEMACTIVATE_Support = true;
|
||||
|
||||
static const wchar_t * const kUnknownExceptionMessage = L"ERROR: Unknown Error!";
|
||||
|
||||
void ErrorMessageForHRESULT(HRESULT res)
|
||||
static void ErrorMessageForHRESULT(HRESULT res)
|
||||
{
|
||||
ShowErrorMessage(HResultToMessage(res));
|
||||
}
|
||||
|
||||
int APIENTRY WinMain2()
|
||||
static int APIENTRY WinMain2()
|
||||
{
|
||||
// OleInitialize is required for ProgressBar in TaskBar.
|
||||
#ifndef UNDER_CE
|
||||
@@ -206,7 +206,9 @@ int APIENTRY WinMain2()
|
||||
return NExitCode::kFatalError;
|
||||
}
|
||||
|
||||
#if defined(_WIN32) && defined(_UNICODE) && !defined(_WIN64) && !defined(UNDER_CE)
|
||||
#define NT_CHECK_FAIL_ACTION ShowErrorMessage(L"Unsupported Windows version"); return NExitCode::kFatalError;
|
||||
#endif
|
||||
|
||||
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /* hPrevInstance */,
|
||||
#ifdef UNDER_CE
|
||||
|
||||
Reference in New Issue
Block a user