From 1b5688ef537546768fcedcbd9ea22029f95f0d73 Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Mon, 25 Nov 2019 13:43:56 +0100 Subject: [PATCH] + chg: extended information (AboutBox Copy Button)) --- src/Dialogs.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Dialogs.c b/src/Dialogs.c index c31940fcc..b4942ecfb 100644 --- a/src/Dialogs.c +++ b/src/Dialogs.c @@ -908,6 +908,12 @@ INT_PTR CALLBACK AboutDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam StringCchCat(wchVerInfo, COUNTOF(wchVerInfo), L"\n" VERSION_UCHARDET); StringCchCat(wchVerInfo, COUNTOF(wchVerInfo), L"\n" VERSION_TINYEXPR); StringCchCat(wchVerInfo, COUNTOF(wchVerInfo), L"\n" VERSION_UTHASH); + StringCchCat(wchVerInfo, COUNTOF(wchVerInfo), (IsProcessElevated() ? + L"\nProcess is elevated." : + L"\nProcess is not elevated.")); + StringCchCat(wchVerInfo, COUNTOF(wchVerInfo), (IsUserInAdminGroup() ? + L"\nUser is in Admin-Group." : + L"\nUser is not in Admin-Group.")); StringCchCat(wchVerInfo, COUNTOF(wchVerInfo), L"\n");