CommonLibSSE NG
Loading...
Searching...
No Matches
WinAPI.h File Reference

Go to the source code of this file.

Classes

struct  SKSE::WinAPI::CRITICAL_SECTION
 
struct  SKSE::WinAPI::_FILETIME
 
struct  SKSE::WinAPI::_GUID
 
struct  SKSE::WinAPI::_WIN32_FIND_DATAA
 
struct  SKSE::WinAPI::_WIN32_FIND_DATAW
 
struct  SKSE::WinAPI::tagRECT
 
struct  SKSE::WinAPI::tagPOINT
 
struct  RE::DirectX::XMFLOAT4X4
 

Namespaces

namespace  SKSE
 
namespace  SKSE::WinAPI
 
namespace  RE
 
namespace  RE::DirectX
 

Macros

#define CP_UTF8   ::SKSE::WinAPI::CP_UTF8
 
#define IMAGE_SCN_MEM_EXECUTE   ::SKSE::WinAPI::IMAGE_SCN_MEM_EXECUTE
 
#define IMAGE_SCN_MEM_WRITE   ::SKSE::WinAPI::IMAGE_SCN_MEM_WRITE
 
#define INVALID_HANDLE_VALUE   ::SKSE::WinAPI::INVALID_HANDLE_VALUE
 
#define MAX_PATH   ::SKSE::WinAPI::MAX_PATH
 
#define MEM_COMMIT   ::SKSE::WinAPI::MEM_COMMIT
 
#define MEM_RESERVE   ::SKSE::WinAPI::MEM_RESERVE
 
#define MEM_RELEASE   ::SKSE::WinAPI::MEM_RELEASE
 
#define PAGE_EXECUTE_READWRITE   ::SKSE::WinAPI::PAGE_EXECUTE_READWRITE
 
#define GetEnvironmentVariable   ::SKSE::WinAPI::GetEnvironmentVariable
 
#define GetFileVersionInfoSize   ::SKSE::WinAPI::GetFileVersionInfoSize
 
#define GetModuleFileName   ::SKSE::WinAPI::GetModuleFileName
 
#define VerQueryValue   ::SKSE::WinAPI::VerQueryValue
 
#define GetFileVersionInfo   ::SKSE::WinAPI::GetFileVersionInfo
 
#define GetModuleHandle   ::SKSE::WinAPI::GetModuleHandle
 
#define LoadLibrary   ::SKSE::WinAPI::LoadLibrary
 
#define MessageBox   ::SKSE::WinAPI::MessageBox
 
#define OutputDebugString   ::SKSE::WinAPI::OutputDebugString
 

Typedefs

using SKSE::WinAPI::FILETIME = _FILETIME
 
using SKSE::WinAPI::GUID = _GUID
 
using SKSE::WinAPI::HWND = HWND__ *
 
using SKSE::WinAPI::HINSTANCE = HINSTANCE__ *
 
using SKSE::WinAPI::HMODULE = HINSTANCE
 
using SKSE::WinAPI::HKEY = HKEY__ *
 
using SKSE::WinAPI::WIN32_FIND_DATAA = _WIN32_FIND_DATAA
 
using SKSE::WinAPI::WIN32_FIND_DATAW = _WIN32_FIND_DATAW
 
using SKSE::WinAPI::RECT = tagRECT
 
using SKSE::WinAPI::POINT = tagPOINT
 
using SKSE::WinAPI::HRESULT = std::int32_t
 

Enumerations

enum  SKSE::WinAPI::VKEnum : std::uint32_t {
  SKSE::WinAPI::VK_LBUTTON = 0x1 , SKSE::WinAPI::VK_RBUTTON = 0x2 , SKSE::WinAPI::VK_CANCEL = 0x3 , SKSE::WinAPI::VK_MBUTTON = 0x4 ,
  SKSE::WinAPI::VK_XBUTTON1 = 0x5 , SKSE::WinAPI::VK_XBUTTON2 = 0x6 , SKSE::WinAPI::VK_BACK = 0x8 , SKSE::WinAPI::VK_TAB = 0x9 ,
  SKSE::WinAPI::VK_RESERVED_0A = 0xA , SKSE::WinAPI::VK_RESERVED_0B = 0xB , SKSE::WinAPI::VK_CLEAR = 0xC , SKSE::WinAPI::VK_RETURN = 0xD ,
  SKSE::WinAPI::VK_SHIFT = 0x10 , SKSE::WinAPI::VK_CONTROL = 0x11 , SKSE::WinAPI::VK_MENU = 0x12 , SKSE::WinAPI::VK_PAUSE = 0x13 ,
  SKSE::WinAPI::VK_CAPITAL = 0x14 , SKSE::WinAPI::VK_KANA = 0x15 , SKSE::WinAPI::VK_HANGUEL = 0x15 , SKSE::WinAPI::VK_HANGUL = 0x15 ,
  SKSE::WinAPI::VK_IME_ON = 0x16 , SKSE::WinAPI::VK_JUNJA = 0x17 , SKSE::WinAPI::VK_FINAL = 0x18 , SKSE::WinAPI::VK_HANJA = 0x19 ,
  SKSE::WinAPI::VK_KANJI = VK_HANJA , SKSE::WinAPI::VK_IME_OFF = 0x1A , SKSE::WinAPI::VK_ESCAPE = 0x1B , SKSE::WinAPI::VK_CONVERT = 0x1C ,
  SKSE::WinAPI::VK_NONCONVERT = 0x1D , SKSE::WinAPI::VK_ACCEPT = 0x1E , SKSE::WinAPI::VK_MODECHANGE = 0x1F , SKSE::WinAPI::VK_SPACE = 0x20 ,
  SKSE::WinAPI::VK_PRIOR = 0x21 , SKSE::WinAPI::VK_NEXT = 0x22 , SKSE::WinAPI::VK_END = 0x23 , SKSE::WinAPI::VK_HOME = 0x24 ,
  SKSE::WinAPI::VK_LEFT = 0x25 , SKSE::WinAPI::VK_UP = 0x26 , SKSE::WinAPI::VK_RIGHT = 0x27 , SKSE::WinAPI::VK_DOWN = 0x28 ,
  SKSE::WinAPI::VK_SELECT = 0x29 , SKSE::WinAPI::VK_PRINT = 0x2A , SKSE::WinAPI::VK_EXECUTE = 0x2B , SKSE::WinAPI::VK_SNAPSHOT = 0x2C ,
  SKSE::WinAPI::VK_INSERT = 0x2D , SKSE::WinAPI::VK_DELETE = 0x2E , SKSE::WinAPI::VK_HELP = 0x2F , SKSE::WinAPI::VK_0 = 0x30 ,
  SKSE::WinAPI::VK_1 = 0x31 , SKSE::WinAPI::VK_2 = 0x32 , SKSE::WinAPI::VK_3 = 0x33 , SKSE::WinAPI::VK_4 = 0x34 ,
  SKSE::WinAPI::VK_5 = 0x35 , SKSE::WinAPI::VK_6 = 0x36 , SKSE::WinAPI::VK_7 = 0x37 , SKSE::WinAPI::VK_8 = 0x38 ,
  SKSE::WinAPI::VK_9 = 0x39 , SKSE::WinAPI::VK_A = 0x41 , SKSE::WinAPI::VK_B = 0x42 , SKSE::WinAPI::VK_C = 0x43 ,
  SKSE::WinAPI::VK_D = 0x44 , SKSE::WinAPI::VK_E = 0x45 , SKSE::WinAPI::VK_F = 0x46 , SKSE::WinAPI::VK_G = 0x47 ,
  SKSE::WinAPI::VK_H = 0x48 , SKSE::WinAPI::VK_I = 0x49 , SKSE::WinAPI::VK_J = 0x4A , SKSE::WinAPI::VK_K = 0x4B ,
  SKSE::WinAPI::VK_L = 0x4C , SKSE::WinAPI::VK_M = 0x4D , SKSE::WinAPI::VK_N = 0x4E , SKSE::WinAPI::VK_O = 0x4F ,
  SKSE::WinAPI::VK_P = 0x50 , SKSE::WinAPI::VK_Q = 0x51 , SKSE::WinAPI::VK_R = 0x52 , SKSE::WinAPI::VK_S = 0x53 ,
  SKSE::WinAPI::VK_T = 0x54 , SKSE::WinAPI::VK_U = 0x55 , SKSE::WinAPI::VK_V = 0x56 , SKSE::WinAPI::VK_W = 0x57 ,
  SKSE::WinAPI::VK_X = 0x58 , SKSE::WinAPI::VK_Y = 0x59 , SKSE::WinAPI::VK_Z = 0x5A , SKSE::WinAPI::VK_LWIN = 0x5B ,
  SKSE::WinAPI::VK_RWIN = 0x5C , SKSE::WinAPI::VK_APPS = 0x5D , SKSE::WinAPI::VK_RESERVED_5E = 0x5E , SKSE::WinAPI::VK_SLEEP = 0x5F ,
  SKSE::WinAPI::VK_NUMPAD0 = 0x60 , SKSE::WinAPI::VK_NUMPAD1 = 0x61 , SKSE::WinAPI::VK_NUMPAD2 = 0x62 , SKSE::WinAPI::VK_NUMPAD3 = 0x63 ,
  SKSE::WinAPI::VK_NUMPAD4 = 0x64 , SKSE::WinAPI::VK_NUMPAD5 = 0x65 , SKSE::WinAPI::VK_NUMPAD6 = 0x66 , SKSE::WinAPI::VK_NUMPAD7 = 0x67 ,
  SKSE::WinAPI::VK_NUMPAD8 = 0x68 , SKSE::WinAPI::VK_NUMPAD9 = 0x69 , SKSE::WinAPI::VK_MULTIPLY = 0x6A , SKSE::WinAPI::VK_ADD = 0x6B ,
  SKSE::WinAPI::VK_SEPARATOR = 0x6C , SKSE::WinAPI::VK_SUBTRACT = 0x6D , SKSE::WinAPI::VK_DECIMAL = 0x6E , SKSE::WinAPI::VK_DIVIDE = 0x6F ,
  SKSE::WinAPI::VK_F1 = 0x70 , SKSE::WinAPI::VK_F2 = 0x71 , SKSE::WinAPI::VK_F3 = 0x72 , SKSE::WinAPI::VK_F4 = 0x73 ,
  SKSE::WinAPI::VK_F5 = 0x74 , SKSE::WinAPI::VK_F6 = 0x75 , SKSE::WinAPI::VK_F7 = 0x76 , SKSE::WinAPI::VK_F8 = 0x77 ,
  SKSE::WinAPI::VK_F9 = 0x78 , SKSE::WinAPI::VK_F10 = 0x79 , SKSE::WinAPI::VK_F11 = 0x7A , SKSE::WinAPI::VK_F12 = 0x7B ,
  SKSE::WinAPI::VK_F13 = 0x7C , SKSE::WinAPI::VK_F14 = 0x7D , SKSE::WinAPI::VK_F15 = 0x7E , SKSE::WinAPI::VK_F16 = 0x7F ,
  SKSE::WinAPI::VK_F17 = 0x80 , SKSE::WinAPI::VK_F18 = 0x81 , SKSE::WinAPI::VK_F19 = 0x82 , SKSE::WinAPI::VK_F20 = 0x83 ,
  SKSE::WinAPI::VK_F21 = 0x84 , SKSE::WinAPI::VK_F22 = 0x85 , SKSE::WinAPI::VK_F23 = 0x86 , SKSE::WinAPI::VK_F24 = 0x87 ,
  SKSE::WinAPI::VK_NUMLOCK = 0x90 , SKSE::WinAPI::VK_SCROLL = 0x91 , SKSE::WinAPI::VK_OEMSPECIFIC_92 = 0x92 , SKSE::WinAPI::VK_OEMSPECIFIC_93 = 0x93 ,
  SKSE::WinAPI::VK_OEMSPECIFIC_94 = 0x94 , SKSE::WinAPI::VK_OEMSPECIFIC_95 = 0x95 , SKSE::WinAPI::VK_OEMSPECIFIC_96 = 0x96 , SKSE::WinAPI::VK_LSHIFT = 0xA0 ,
  SKSE::WinAPI::VK_RSHIFT = 0xA1 , SKSE::WinAPI::VK_LCONTROL = 0xA2 , SKSE::WinAPI::VK_RCONTROL = 0xA3 , SKSE::WinAPI::VK_LMENU = 0xA4 ,
  SKSE::WinAPI::VK_RMENU = 0xA5 , SKSE::WinAPI::VK_BROWSER_BACK = 0xA6 , SKSE::WinAPI::VK_BROWSER_FORWARD = 0xA7 , SKSE::WinAPI::VK_BROWSER_REFRESH = 0xA8 ,
  SKSE::WinAPI::VK_BROWSER_STOP = 0xA9 , SKSE::WinAPI::VK_BROWSER_SEARCH = 0xAA , SKSE::WinAPI::VK_BROWSER_FAVORITES = 0xAB , SKSE::WinAPI::VK_BROWSER_HOME = 0xAC ,
  SKSE::WinAPI::VK_VOLUME_MUTE = 0xAD , SKSE::WinAPI::VK_VOLUME_DOWN = 0xAE , SKSE::WinAPI::VK_VOLUME_UP = 0xAF , SKSE::WinAPI::VK_MEDIA_NEXT_TRACK = 0xB0 ,
  SKSE::WinAPI::VK_MEDIA_PREV_TRACK = 0xB1 , SKSE::WinAPI::VK_MEDIA_STOP = 0xB2 , SKSE::WinAPI::VK_MEDIA_PLAY_PAUSE = 0xB3 , SKSE::WinAPI::VK_LAUNCH_MAIL = 0xB4 ,
  SKSE::WinAPI::VK_LAUNCH_MEDIA_SELECT = 0xB5 , SKSE::WinAPI::VK_LAUNCH_APP1 = 0xB6 , SKSE::WinAPI::VK_LAUNCH_APP2 = 0xB7 , SKSE::WinAPI::VK_RESERVED_B8 = 0xB8 ,
  SKSE::WinAPI::VK_RESERVED_B9 = 0xB9 , SKSE::WinAPI::VK_OEM_1 = 0xBA , SKSE::WinAPI::VK_OEM_PLUS = 0xBB , SKSE::WinAPI::VK_OEM_COMMA = 0xBC ,
  SKSE::WinAPI::VK_OEM_MINUS = 0xBD , SKSE::WinAPI::VK_OEM_PERIOD = 0xBE , SKSE::WinAPI::VK_OEM_2 = 0xBF , SKSE::WinAPI::VK_OEM_3 = 0xC0 ,
  SKSE::WinAPI::VK_RESERVED_C1 = 0xC1 , SKSE::WinAPI::VK_RESERVED_C2 = 0xC2 , SKSE::WinAPI::VK_RESERVED_C3 = 0xC3 , SKSE::WinAPI::VK_RESERVED_C4 = 0xC4 ,
  SKSE::WinAPI::VK_RESERVED_C5 = 0xC5 , SKSE::WinAPI::VK_RESERVED_C6 = 0xC6 , SKSE::WinAPI::VK_RESERVED_C7 = 0xC7 , SKSE::WinAPI::VK_RESERVED_C8 = 0xC8 ,
  SKSE::WinAPI::VK_RESERVED_C9 = 0xC9 , SKSE::WinAPI::VK_RESERVED_CA = 0xCA , SKSE::WinAPI::VK_RESERVED_CB = 0xCB , SKSE::WinAPI::VK_RESERVED_CC = 0xCC ,
  SKSE::WinAPI::VK_RESERVED_CD = 0xCD , SKSE::WinAPI::VK_RESERVED_CE = 0xCE , SKSE::WinAPI::VK_RESERVED_CF = 0xCF , SKSE::WinAPI::VK_RESERVED_D0 = 0xD0 ,
  SKSE::WinAPI::VK_RESERVED_D1 = 0xD1 , SKSE::WinAPI::VK_RESERVED_D2 = 0xD2 , SKSE::WinAPI::VK_RESERVED_D3 = 0xD3 , SKSE::WinAPI::VK_RESERVED_D4 = 0xD4 ,
  SKSE::WinAPI::VK_RESERVED_D5 = 0xD5 , SKSE::WinAPI::VK_RESERVED_D6 = 0xD6 , SKSE::WinAPI::VK_RESERVED_D7 = 0xD7 , SKSE::WinAPI::VK_OEM_4 = 0xDB ,
  SKSE::WinAPI::VK_OEM_5 = 0xDC , SKSE::WinAPI::VK_OEM_6 = 0xDD , SKSE::WinAPI::VK_OEM_7 = 0xDE , SKSE::WinAPI::VK_OEM_8 = 0xDF ,
  SKSE::WinAPI::VK_RESERVED_E0 = 0xE0 , SKSE::WinAPI::VK_OEMSPECIFIC_E1 = 0xE1 , SKSE::WinAPI::VK_OEM_102 = 0xE2 , SKSE::WinAPI::VK_OEMSPECIFIC_E3 = 0xE3 ,
  SKSE::WinAPI::VK_OEMSPECIFIC_E4 = 0xE4 , SKSE::WinAPI::VK_PROCESSKEY = 0xE5 , SKSE::WinAPI::VK_OEMSPECIFIC_E6 = 0xE6 , SKSE::WinAPI::VK_PACKET = 0xE7 ,
  SKSE::WinAPI::VK_OEMSPECIFIC_E9 = 0xE9 , SKSE::WinAPI::VK_OEMSPECIFIC_EA = 0xEA , SKSE::WinAPI::VK_OEMSPECIFIC_EB = 0xEB , SKSE::WinAPI::VK_OEMSPECIFIC_EC = 0xEC ,
  SKSE::WinAPI::VK_OEMSPECIFIC_ED = 0xED , SKSE::WinAPI::VK_OEMSPECIFIC_EE = 0xEE , SKSE::WinAPI::VK_OEMSPECIFIC_EF = 0xEF , SKSE::WinAPI::VK_OEMSPECIFIC_F0 = 0xF0 ,
  SKSE::WinAPI::VK_OEMSPECIFIC_F1 = 0xF1 , SKSE::WinAPI::VK_OEMSPECIFIC_F2 = 0xF2 , SKSE::WinAPI::VK_OEMSPECIFIC_F3 = 0xF3 , SKSE::WinAPI::VK_OEMSPECIFIC_F4 = 0xF4 ,
  SKSE::WinAPI::VK_OEMSPECIFIC_F5 = 0xF5 , SKSE::WinAPI::VK_ATTN = 0xF6 , SKSE::WinAPI::VK_CRSEL = 0xF7 , SKSE::WinAPI::VK_EXSEL = 0xF8 ,
  SKSE::WinAPI::VK_EREOF = 0xF9 , SKSE::WinAPI::VK_PLAY = 0xFA , SKSE::WinAPI::VK_ZOOM = 0xFB , SKSE::WinAPI::VK_NONAME = 0xFC ,
  SKSE::WinAPI::VK_PA1 = 0xFD , SKSE::WinAPI::VK_OEM_CLEAR = 0xFE , SKSE::WinAPI::VK_RESERVED_FF = 0xFF
}
 

Functions

bool SKSE::WinAPI::FindClose (void *a_findFile) noexcept
 
void * SKSE::WinAPI::FindFirstFile (const char *a_fileName, WIN32_FIND_DATAA *a_findFileData) noexcept
 
void * SKSE::WinAPI::FindFirstFile (const wchar_t *a_fileName, WIN32_FIND_DATAW *a_findFileData) noexcept
 
bool SKSE::WinAPI::FindNextFile (void *a_findFile, WIN32_FIND_DATAA *a_findFileData) noexcept
 
bool SKSE::WinAPI::FindNextFile (void *a_findFile, WIN32_FIND_DATAW *a_findFileData) noexcept
 
bool SKSE::WinAPI::FreeLibrary (HMODULE a_module) noexcept
 
void * SKSE::WinAPI::GetCurrentModule () noexcept
 
void * SKSE::WinAPI::GetCurrentProcess () noexcept
 
std::uint32_t SKSE::WinAPI::GetCurrentThreadID () noexcept
 
std::uint32_t SKSE::WinAPI::GetEnvironmentVariable (const char *a_name, char *a_buffer, std::uint32_t a_size) noexcept
 
std::uint32_t SKSE::WinAPI::GetEnvironmentVariable (const wchar_t *a_name, wchar_t *a_buffer, std::uint32_t a_size) noexcept
 
bool SKSE::WinAPI::GetFileVersionInfo (const char *a_filename, std::uint32_t a_handle, std::uint32_t a_len, void *a_data) noexcept
 
bool SKSE::WinAPI::GetFileVersionInfo (const wchar_t *a_filename, std::uint32_t a_handle, std::uint32_t a_len, void *a_data) noexcept
 
std::uint32_t SKSE::WinAPI::GetFileVersionInfoSize (const char *a_filename, std::uint32_t *a_handle) noexcept
 
std::uint32_t SKSE::WinAPI::GetFileVersionInfoSize (const wchar_t *a_filename, std::uint32_t *a_handle) noexcept
 
int SKSE::WinAPI::GetKeyNameText (std::int32_t a_lParam, char *a_buffer, int a_size) noexcept
 
int SKSE::WinAPI::GetKeyNameText (std::int32_t a_lParam, wchar_t *a_buffer, int a_size) noexcept
 
std::int16_t SKSE::WinAPI::GetKeyState (int nVirtKey) noexcept
 
std::size_t SKSE::WinAPI::GetMaxPath () noexcept
 
std::uint32_t SKSE::WinAPI::GetModuleFileName (void *a_module, char *a_filename, std::uint32_t a_size) noexcept
 
std::uint32_t SKSE::WinAPI::GetModuleFileName (void *a_module, wchar_t *a_filename, std::uint32_t a_size) noexcept
 
HMODULE SKSE::WinAPI::GetModuleHandle (const char *a_moduleName) noexcept
 
HMODULE SKSE::WinAPI::GetModuleHandle (const wchar_t *a_moduleName) noexcept
 
std::uint32_t SKSE::WinAPI::GetPrivateProfileString (const char *a_appName, const char *a_keyName, const char *a_default, char *a_outString, std::uint32_t a_size, const char *a_fileName) noexcept
 
std::uint32_t SKSE::WinAPI::GetPrivateProfileString (const wchar_t *a_appName, const wchar_t *a_keyName, const wchar_t *a_default, wchar_t *a_outString, std::uint32_t a_size, const wchar_t *a_fileName) noexcept
 
void * SKSE::WinAPI::GetProcAddress (void *a_module, const char *a_procName) noexcept
 
bool SKSE::WinAPI::IsDebuggerPresent () noexcept
 
HMODULE SKSE::WinAPI::LoadLibrary (const char *a_libFileName) noexcept
 
HMODULE SKSE::WinAPI::LoadLibrary (const wchar_t *a_libFileName) noexcept
 
std::int32_t SKSE::WinAPI::MessageBox (void *a_wnd, const char *a_text, const char *a_caption, unsigned int a_type) noexcept
 
std::int32_t SKSE::WinAPI::MessageBox (void *a_wnd, const wchar_t *a_text, const wchar_t *a_caption, unsigned int a_type) noexcept
 
int SKSE::WinAPI::MultiByteToWideChar (unsigned int a_codePage, std::uint32_t a_flags, const char *a_multiByteStr, int a_multiByte, wchar_t *a_wideCharStr, int a_wideChar)
 
void SKSE::WinAPI::OutputDebugString (const char *a_outputString) noexcept
 
void SKSE::WinAPI::OutputDebugString (const wchar_t *a_outputString) noexcept
 
long SKSE::WinAPI::RegGetValueW (HKEY hkey, const char *subKey, const char *value, unsigned long flags, unsigned long *type, void *data, unsigned long *length)
 
long SKSE::WinAPI::RegGetValueW (HKEY hkey, const wchar_t *subKey, const wchar_t *value, unsigned long flags, unsigned long *type, void *data, unsigned long *length)
 
int SKSE::WinAPI::ShowCursor (bool bShow) noexcept
 
void SKSE::WinAPI::TerminateProcess (void *a_process, unsigned int a_exitCode) noexcept
 
void * SKSE::WinAPI::TlsGetValue (std::uint32_t a_tlsIndex) noexcept
 
bool SKSE::WinAPI::TlsSetValue (std::uint32_t a_tlsIndex, void *a_tlsValue) noexcept
 
bool SKSE::WinAPI::VirtualFree (void *a_address, std::size_t a_size, std::uint32_t a_freeType) noexcept
 
bool SKSE::WinAPI::VerQueryValue (const void *a_block, const char *a_subBlock, void **a_buffer, unsigned int *a_len) noexcept
 
bool SKSE::WinAPI::VerQueryValue (const void *a_block, const wchar_t *a_subBlock, void **a_buffer, unsigned int *a_len) noexcept
 
bool SKSE::WinAPI::VirtualProtect (void *a_address, std::size_t a_size, std::uint32_t a_newProtect, std::uint32_t *a_oldProtect) noexcept
 
int SKSE::WinAPI::WideCharToMultiByte (unsigned int a_codePage, std::uint32_t a_flags, const wchar_t *a_wideCharStr, int a_wideChar, char *a_multiByteStr, int a_multiByte, const char *a_defaultChar, int *a_usedDefaultChar)
 

Variables

constexpr auto SKSE::WinAPI::CP_UTF8 { 65001u }
 
constexpr auto SKSE::WinAPI::FILE_ATTRIBUTE_READONLY { 0x00000001u }
 
constexpr auto SKSE::WinAPI::FILE_ATTRIBUTE_HIDDEN { 0x00000002u }
 
constexpr auto SKSE::WinAPI::FILE_ATTRIBUTE_SYSTEM { 0x00000004u }
 
constexpr auto SKSE::WinAPI::FILE_ATTRIBUTE_DIRECTORY { 0x00000010u }
 
constexpr auto SKSE::WinAPI::FILE_ATTRIBUTE_ARCHIVE { 0x00000020u }
 
constexpr auto SKSE::WinAPI::IMAGE_SCN_MEM_EXECUTE { 0x20000000u }
 
constexpr auto SKSE::WinAPI::IMAGE_SCN_MEM_WRITE { 0x80000000u }
 
const auto SKSE::WinAPI::INVALID_HANDLE_VALUE { reinterpret_cast<void*>(static_cast<std::intptr_t>(-1)) }
 
constexpr auto SKSE::WinAPI::MAX_PATH { 260u }
 
constexpr auto SKSE::WinAPI::MEM_COMMIT { 0x00001000u }
 
constexpr auto SKSE::WinAPI::MEM_RESERVE { 0x00002000u }
 
constexpr auto SKSE::WinAPI::MEM_RELEASE { 0x00008000u }
 
constexpr auto SKSE::WinAPI::PAGE_EXECUTE_READWRITE { 0x40u }
 
auto SKSE::WinAPI::HKEY_LOCAL_MACHINE = reinterpret_cast<HKEY>(static_cast<uintptr_t>(0x80000002))
 

Macro Definition Documentation

◆ CP_UTF8

#define CP_UTF8   ::SKSE::WinAPI::CP_UTF8

◆ GetEnvironmentVariable

#define GetEnvironmentVariable   ::SKSE::WinAPI::GetEnvironmentVariable

◆ GetFileVersionInfo

#define GetFileVersionInfo   ::SKSE::WinAPI::GetFileVersionInfo

◆ GetFileVersionInfoSize

#define GetFileVersionInfoSize   ::SKSE::WinAPI::GetFileVersionInfoSize

◆ GetModuleFileName

#define GetModuleFileName   ::SKSE::WinAPI::GetModuleFileName

◆ GetModuleHandle

#define GetModuleHandle   ::SKSE::WinAPI::GetModuleHandle

◆ IMAGE_SCN_MEM_EXECUTE

#define IMAGE_SCN_MEM_EXECUTE   ::SKSE::WinAPI::IMAGE_SCN_MEM_EXECUTE

◆ IMAGE_SCN_MEM_WRITE

#define IMAGE_SCN_MEM_WRITE   ::SKSE::WinAPI::IMAGE_SCN_MEM_WRITE

◆ INVALID_HANDLE_VALUE

#define INVALID_HANDLE_VALUE   ::SKSE::WinAPI::INVALID_HANDLE_VALUE

◆ LoadLibrary

#define LoadLibrary   ::SKSE::WinAPI::LoadLibrary

◆ MAX_PATH

#define MAX_PATH   ::SKSE::WinAPI::MAX_PATH

◆ MEM_COMMIT

#define MEM_COMMIT   ::SKSE::WinAPI::MEM_COMMIT

◆ MEM_RELEASE

#define MEM_RELEASE   ::SKSE::WinAPI::MEM_RELEASE

◆ MEM_RESERVE

#define MEM_RESERVE   ::SKSE::WinAPI::MEM_RESERVE

◆ MessageBox

#define MessageBox   ::SKSE::WinAPI::MessageBox

◆ OutputDebugString

#define OutputDebugString   ::SKSE::WinAPI::OutputDebugString

◆ PAGE_EXECUTE_READWRITE

#define PAGE_EXECUTE_READWRITE   ::SKSE::WinAPI::PAGE_EXECUTE_READWRITE

◆ VerQueryValue

#define VerQueryValue   ::SKSE::WinAPI::VerQueryValue