updated build system
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -34,13 +34,23 @@ void free_console();
|
||||
|
||||
[[nodiscard]] auto get_last_error_code() -> DWORD;
|
||||
|
||||
[[nodiscard]] auto get_startup_folder() -> std::wstring;
|
||||
|
||||
[[nodiscard]] auto get_thread_id() -> std::uint64_t;
|
||||
|
||||
[[nodiscard]] auto is_process_elevated() -> bool;
|
||||
|
||||
[[nodiscard]] auto run_process_elevated(std::vector<const char *> args) -> int;
|
||||
|
||||
void set_last_error_code(DWORD errorCode);
|
||||
[[nodiscard]]
|
||||
auto create_shortcut(const std::wstring &exe_path,
|
||||
const std::wstring &arguments,
|
||||
const std::wstring &working_directory,
|
||||
const std::wstring &shortcut_name = L"",
|
||||
const std::wstring &location = get_startup_folder())
|
||||
-> bool;
|
||||
|
||||
void set_last_error_code(DWORD error_code);
|
||||
} // namespace repertory::utils
|
||||
|
||||
#endif // defined(_WIN32)
|
||||
|
||||
Reference in New Issue
Block a user