|
@@ -1041,7 +1041,7 @@ static void __fastcall AcquireShutDownPrivileges()
|
|
|
ZeroMemory(&Priv, sizeof(Priv));
|
|
|
// Get the LUID for the shutdown privilege.
|
|
|
// For hibernate/suspend, you need the same:
|
|
|
- // http://stackoverflow.com/q/959589/850848
|
|
|
+ // https://stackoverflow.com/q/959589/850848
|
|
|
Win32Check(LookupPrivilegeValue(NULL, SE_SHUTDOWN_NAME, &Priv.Privileges[0].Luid));
|
|
|
|
|
|
Priv.PrivilegeCount = 1; // one privilege to set
|