blob: 0a1e17f980328c7181e092674b889de65fe95ba8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include "native.h"
namespace util {
std::string wide_to_multibyte(const std::wstring& str);
std::wstring multibyte_to_wide(const std::string& str);
__forceinline native::_PEB* peb() {
return reinterpret_cast<native::_PEB*>(__readgsqword(0x60));
}
bool close_handle(HANDLE handle);
}; // namespace util
|