diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-11-22 13:23:03 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-22 13:23:03 +0100 |
commit | 9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993 (patch) | |
tree | 3fd8306bb874e1198a49f9a9ee9a7f417d10da92 /win/rfb_win32/CurrentUser.cxx | |
parent | cd52658ff6e73aa1c36f01a8486ba346a869c848 (diff) | |
parent | 0af41e7fed978f934f3dc6ca8c99599a212467c5 (diff) | |
download | tigervnc-9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993.tar.gz tigervnc-9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993.zip |
Merge branch 'master' of https://github.com/madnicendio/tigervnc
Diffstat (limited to 'win/rfb_win32/CurrentUser.cxx')
-rw-r--r-- | win/rfb_win32/CurrentUser.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/win/rfb_win32/CurrentUser.cxx b/win/rfb_win32/CurrentUser.cxx index be363682..a9404c94 100644 --- a/win/rfb_win32/CurrentUser.cxx +++ b/win/rfb_win32/CurrentUser.cxx @@ -41,7 +41,7 @@ BOOL CALLBACK enumWindows(HWND hwnd, LPARAM lParam) { char className[16]; if (GetClassName(hwnd, className, sizeof(className)) && (strcmp(className, shellIconClass) == 0)) { - vlog.debug("located tray icon window (%s)", className); + vlog.debug("Located tray icon window (%s)", className); DWORD processId = 0; GetWindowThreadProcessId(hwnd, &processId); if (!processId) @@ -51,7 +51,7 @@ BOOL CALLBACK enumWindows(HWND hwnd, LPARAM lParam) { return TRUE; if (!OpenProcessToken(process, MAXIMUM_ALLOWED, (HANDLE*)lParam)) return TRUE; - vlog.debug("obtained user token"); + vlog.debug("Obtained user token"); return FALSE; } return TRUE; @@ -59,14 +59,14 @@ BOOL CALLBACK enumWindows(HWND hwnd, LPARAM lParam) { BOOL CALLBACK enumDesktops(LPTSTR lpszDesktop, LPARAM lParam) { HDESK desktop = OpenDesktop(lpszDesktop, 0, FALSE, DESKTOP_ENUMERATE); - vlog.debug("opening \"%s\"", lpszDesktop); + vlog.debug("Opening \"%s\"", lpszDesktop); if (!desktop) { - vlog.info("desktop \"%s\" inaccessible", lpszDesktop); + vlog.info("Desktop \"%s\" inaccessible", lpszDesktop); return TRUE; } BOOL result = EnumDesktopWindows(desktop, enumWindows, lParam); if (!CloseDesktop(desktop)) - vlog.info("unable to close desktop: %ld", GetLastError()); + vlog.info("Unable to close desktop: %ld", GetLastError()); return result; } |