10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
win32_utils.h
1
#ifndef TENDUKE_OSA_WIN_WIN32_UTILS_H
2
#define TENDUKE_OSA_WIN_WIN32_UTILS_H
3
4
#include <string>
5
#include <windows.h>
6
7
namespace
tenduke
{
namespace
osa
{
namespace
win {
8
9
std::wstring convertUTF8ToWString(
const
std::string &utf8EncodedString);
10
std::string convertWStringToUTF8(
const
wchar_t
*utf16EncodedString,
size_t
length);
11
12
std::string getErrorMessage(
13
::DWORD errorCode,
14
const
void
*source =
nullptr
15
);
16
17
std::string getWinHttpErrorMessage(DWORD errorCode);
18
19
void
throwOnHttpError(::DWORD errorCode);
20
21
}}}
22
23
#endif
//TENDUKE_OSA_WIN_WIN32_UTILS_H
tenduke::osa
Operating system abstraction.
Definition
win32_utils.h:7
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
services
windows
src
win32_utils.h
Generated by
1.17.0