Bootloader installer 2.0 (C++ port)

This commit is contained in:
paravis committed 2026-11-07 20:41:09 +03:00
commit c538f115f1
15 files changed
+1569

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include <windows.h>
#include <string>
std::wstring Format(const wchar_t* fmt, ...);
std::wstring GetExeDir();
std::wstring GetComSpec();
bool FileExists(const std::wstring& path);
void DeleteFileIfExists(const std::wstring& path);
bool CopyFileOverwrite(const std::wstring& source, const std::wstring& destination);
bool EnsureDirectory(const std::wstring& path);
int RunWait(const std::wstring& commandLine);
int GetDiskNumberForDrive(wchar_t letter);
void PumpMessages();
COLORREF ColorFromHex(DWORD rgb);
void DebugLog(const wchar_t* fmt, ...);