mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 10:28:08 +00:00
[idd] helper: split CWindow into base class and CNotifyWindow
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user