CommonLibSSE (Parapets fork)
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::_WIN32_FIND_DATAA
 
struct  RE::DirectX::XMFLOAT4X4
 

Namespaces

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

Typedefs

using SKSE::WinAPI::FILETIME = _FILETIME
 
using SKSE::WinAPI::HWND = HWND__ *
 
using SKSE::WinAPI::HINSTANCE = HINSTANCE__ *
 
using SKSE::WinAPI::WIN32_FIND_DATAA = _WIN32_FIND_DATAA
 

Functions

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
 
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
 
void * SKSE::WinAPI::GetModuleHandle (const char *a_moduleName) noexcept
 
void * SKSE::WinAPI::GetModuleHandle (const wchar_t *a_moduleName) noexcept
 
void * SKSE::WinAPI::GetProcAddress (void *a_module, const char *a_procName) 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
 
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 { static_cast<unsigned int>(65001) }
 
constexpr auto SKSE::WinAPI::IMAGE_SCN_MEM_EXECUTE { static_cast<std::uint32_t>(0x20000000) }
 
constexpr auto SKSE::WinAPI::IMAGE_SCN_MEM_WRITE { static_cast<std::uint32_t>(0x80000000) }
 
const auto SKSE::WinAPI::INVALID_HANDLE_VALUE { reinterpret_cast<void*>(static_cast<std::intptr_t>(-1)) }
 
constexpr auto SKSE::WinAPI::MAX_PATH { static_cast<std::uint32_t>(260) }
 
constexpr auto SKSE::WinAPI::MEM_RELEASE { static_cast<std::uint32_t>(0x00008000) }
 
constexpr auto SKSE::WinAPI::PAGE_EXECUTE_READWRITE { static_cast<std::uint32_t>(0x40) }