mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 10:28:08 +00:00
[idd] helper: implement basic config class
This commit is contained in:
@@ -13,6 +13,7 @@ using namespace Microsoft::WRL::Wrappers::HandleTraits;
|
||||
#include "VersionInfo.h"
|
||||
#include "CPipeClient.h"
|
||||
#include "CNotifyWindow.h"
|
||||
#include "CConfigWindow.h"
|
||||
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof*(x))
|
||||
#define SVCNAME L"Looking Glass (IDD Helper)"
|
||||
@@ -86,6 +87,12 @@ int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (!CConfigWindow::registerClass())
|
||||
{
|
||||
DEBUG_ERROR("Failed to register config window class");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (!g_pipe.Init())
|
||||
return EXIT_FAILURE;
|
||||
|
||||
|
Reference in New Issue
Block a user