13 lines
350 B
C++
13 lines
350 B
C++
#pragma once
|
|
|
|
|
|
bool IsElevated();
|
|
int RunElevated(const std::wstring& Params, bool bGetCode = false);
|
|
int RunElevated(const std::wstring& binaryPath, const std::wstring& Params, quint32 uTimeOut = 0);
|
|
int RestartElevated(int &argc, char **argv);
|
|
|
|
bool IsAdminUser(bool OnlyFull = false);
|
|
|
|
bool IsAutorunEnabled();
|
|
bool AutorunEnable(bool is_enable);
|