HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
win32_headers.hpp File Reference

Rules for working with win32 headers. More...

#include <Windows.h>
#include <ntstatus.h>
#include <debugapi.h>
#include <shellapi.h>
#include <intrin.h>
#include <winuser.h>
#include <winreg.h>
#include <Uxtheme.h>
#include <bcrypt.h>
#include <synchapi.h>
#include <ShlObj_core.h>
#include <WinSock2.h>
#include <windowsx.h>
#include <ddraw.h>
#include <dwmapi.h>
#include <dxgi.h>
#include <initguid.h>
#include <mmsystem.h>
#include <mmeapi.h>
#include <mmddk.h>
#include <mmreg.h>
#include <winioctl.h>
#include <propsys.h>
#include <ks.h>
#include <ksmedia.h>
#include <functiondiscoverykeys_devpkey.h>
#include <mmdeviceapi.h>
#include <endpointvolume.h>
#include <audioclient.h>
#include "cast.hpp"
#include "exception.hpp"
#include <string_view>
#include <string>

Go to the source code of this file.

Namespaces

namespace  hi
 geometry/margins.hpp
 
namespace  hi::v1
 The HikoGUI API version 1.
 

Functions

std::wstring hi::v1::win32_string_to_wstring (std::string_view s)
 Convert a UTF-8 std::string to a win32-API compatible std::wstring.
 
std::string hi::v1::win32_wstring_to_string (std::wstring_view s)
 Convert a win32-API compatible std::wstring to a UTF-8 std::string.
 

Detailed Description

Rules for working with win32 headers.

This file includes windows headers in the correct order. Any other order or multiple includes will break the fragile win32 header system.