mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[SHELLBTRFS] Upgrade to 1.0.1
CID 1419312 CORE-13896
This commit is contained in:
parent
4672b2ba5e
commit
fb2a56e02a
2 changed files with 45 additions and 43 deletions
|
@ -562,6 +562,7 @@ void CALLBACK SendSubvolGUIW(HWND hwnd, HINSTANCE hinst, LPWSTR lpszCmdLine, int
|
|||
|
||||
if (!LookupPrivilegeValueW(NULL, L"SeManageVolumePrivilege", &luid)) {
|
||||
ShowError(hwnd, GetLastError());
|
||||
CloseHandle(token);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -571,6 +572,7 @@ void CALLBACK SendSubvolGUIW(HWND hwnd, HINSTANCE hinst, LPWSTR lpszCmdLine, int
|
|||
|
||||
if (!AdjustTokenPrivileges(token, FALSE, &tp, sizeof(TOKEN_PRIVILEGES), NULL, NULL)) {
|
||||
ShowError(hwnd, GetLastError());
|
||||
CloseHandle(token);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue