mal-packet-weaver
C++20 packet serialization/deserialization library.
Loading...
Searching...
No Matches
win-utils.hpp File Reference

Provides various Windows-specific utility functions and macros. More...

#include "include/win.hpp"
#include "library-pch.hpp"
Include dependency graph for win-utils.hpp:

Go to the source code of this file.

Namespaces

namespace  mal_toolkit
 Contains a collection of tools and utilities provided by the MAL Toolkit library.
 

Functions

std::string mal_toolkit::wstring_to_string (std::wstring_view const wstr)
 Converts a wide string (UTF16) to a UTF-8 string.
 
std::wstring mal_toolkit::string_to_wstring (std::string_view const str)
 Converts a UTF-8 string to a wide string (UTF16).
 
std::string mal_toolkit::FormatErrorAsString (DWORD errorMessageID)
 Formats a Win32 error code as a string.
 

Detailed Description

Provides various Windows-specific utility functions and macros.

Definition in file win-utils.hpp.