Paravis USB installer 2.0 (C++ port)
This commit is contained in:
commit
586540c0ac
18 files changed
+4119
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
std::wstring Format(const wchar_t* fmt, ...);
|
||||
std::wstring GetTempDir();
|
||||
std::wstring GetExeDir();
|
||||
std::wstring GetRunStamp();
|
||||
std::wstring JoinPath(const std::wstring& dir, const std::wstring& name);
|
||||
bool FileExists(const std::wstring& path);
|
||||
bool IsAdmin();
|
||||
std::string WideToAnsi(const std::wstring& text, UINT codepage = CP_ACP);
|
||||
std::wstring AnsiToWide(const std::string& text, UINT codepage = CP_ACP);
|
||||
bool WriteAnsiFile(const std::wstring& path, const std::wstring& text);
|
||||
std::string ReadFileBytes(const std::wstring& path);
|
||||
std::wstring GetComSpec();
|
||||
COLORREF ColorFromHex(DWORD rgb);
|
||||
void DebugLog(const wchar_t* fmt, ...);
|
||||
Reference in new issue
Block a user