11 lines
316 B
C++
11 lines
316 B
C++
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <sstream>
|
|
|
|
bool isError(const HRESULT result, const std::stringstream message);
|
|
bool isError(const HRESULT result, const char* message);
|
|
std::string utf8Encode(const std::wstring& wstr);
|
|
HRESULT getAppPath(std::wstring& outPath);
|
|
HRESULT getAppDir(std::wstring& outPath);
|