Sandboxie/SandboxiePlus/SandMan/Helpers/WinAdmin.h

10 lines
302 B
C

#pragma once
bool IsElevated();
int RunElevated(const wstring& Params, bool bGetCode = false);
int RunElevated(const wstring& binaryPath, const wstring& Params, bool bGetCode = false);
int RestartElevated(int &argc, char **argv);
bool IsAutorunEnabled();
bool AutorunEnable(bool is_enable);