From 1db1d9fbe69c35984cfba012997027ff47f3da20 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Wed, 12 Oct 2022 09:25:11 -0700 Subject: [PATCH] Fixed compiler warning --- meshservice/ServiceMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshservice/ServiceMain.c b/meshservice/ServiceMain.c index a8ec01a..c8a6dc1 100644 --- a/meshservice/ServiceMain.c +++ b/meshservice/ServiceMain.c @@ -1480,7 +1480,7 @@ INT_PTR CALLBACK DialogHandler2(HWND hDlg, UINT message, WPARAM wParam, LPARAM l // Set Tooltip for ServerLocation HWND hServerLocationHWND = GetDlgItem(hDlg, IDC_SERVERLOCATION); - HWND hToolTip = CreateWindowExW(NULL, TOOLTIPS_CLASSW, NULL, WS_POPUP | TTS_NOPREFIX | TTS_ALWAYSTIP, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hDlg, NULL, GetModuleHandle(NULL), NULL); + HWND hToolTip = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, WS_POPUP | TTS_NOPREFIX | TTS_ALWAYSTIP, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hDlg, NULL, GetModuleHandle(NULL), NULL); DWORD _e = GetLastError(); if (hToolTip != NULL && hServerLocationHWND != NULL) {