[idd] helper: split CWindow into base class and CNotifyWindow

This commit is contained in:
Quantum
2025-09-14 15:19:14 -04:00
committed by Geoffrey McRae
parent 118e300f2f
commit c4f3936d98
7 changed files with 152 additions and 88 deletions

View File

@@ -12,7 +12,7 @@ using namespace Microsoft::WRL::Wrappers::HandleTraits;
#include "CDebug.h"
#include "VersionInfo.h"
#include "CPipeClient.h"
#include "CWindow.h"
#include "CNotifyWindow.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof*(x))
#define SVCNAME L"Looking Glass (IDD Helper)"
@@ -73,13 +73,13 @@ int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _
return EXIT_FAILURE;
}
if (!CWindow::registerClass())
if (!CNotifyWindow::registerClass())
{
DEBUG_ERROR("Failed to register message window class");
return EXIT_FAILURE;
}
CWindow window;
CNotifyWindow window;
if (!g_pipe.Init())
{