Utils_Win32
namespace Utils_Win32

Contains Windows helper functions

Functions
wstring_to_string
inline std::string wstring_to_string(
const std::wstring &in
)

Converts a std::wstring to a std::string

Parameters
in
const std::wstring&

the wstring to convert to a string

Returns

the std::string representation of the input

string_to_wstring
inline std::wstring string_to_wstring(
const std::string &in
)

Converts a std::string to a std::wstring

Parameters
in
const std::string&

the string to convert to a wstring

Returns

the std::wstring representation of the input

toHstring
inline hstring toHstring(
const std::string &in
)

Converts a std::string to an hstring

Parameters
in
const std::string&

the std::string to convert to an hstring

Returns

An hstring representation of the passed in string

toHstring
inline hstring toHstring(
const std::wstring &in
)

Converts a std::wstring to an hstring

Parameters
in
const std::wstring&

the std::wstring to convert to an hstring

Returns

An hstring representation of the passed in wstring

toString
inline std::string toString(
const hstring &in
)

Converts a hstring to an std::string

Parameters
in
const hstring&

the hstring to convert to an std::string

Returns

An std::string representation of the passed in hstring

toWstring
inline std::wstring toWstring(
const hstring &in
)

Converts a hstring to an std::wstring

Parameters
in
const hstring&

the hstring to convert to an std::wstring

Returns

An std::wstring representation of the passed in hstring

toHstring
inline hstring toHstring(
const std::string &in
)

Converts a std::string to an hstring

Parameters
in
const std::string&

the std::string to convert to an hstring

Returns

An hstring representation of the passed in string

toHstring
inline hstring toHstring(
const std::wstring &in
)

Converts a std::wstring to an hstring

Parameters
in
const std::wstring&

the std::wstring to convert to an hstring

Returns

An hstring representation of the passed in wstring

toString
inline std::string toString(
const hstring &in
)

Converts a hstring to an std::string

Parameters
in
const hstring&

the hstring to convert to an std::string

Returns

An std::string representation of the passed in hstring

toWstring
inline std::wstring toWstring(
const hstring &in
)

Converts a hstring to an std::wstring

Parameters
in
const hstring&

the hstring to convert to an std::wstring

Returns

An std::wstring representation of the passed in hstring