CommonLibSSE (Parapets fork)
|
Namespaces | |
DBT | |
Classes | |
struct | CRITICAL_SECTION |
struct | _FILETIME |
struct | _WIN32_FIND_DATAA |
struct | SECURITY_ATTRIBUTES |
struct | HandleCloser |
struct | _GUID |
struct | _DEV_BROADCAST_HDR |
struct | _DEV_BROADCAST_DEVICEINTERFACE_A |
struct | DEVICE_NOTIFY |
struct | DeviceNotifyCloser |
Typedefs | |
using | FILETIME = _FILETIME |
using | HWND = HWND__ * |
using | HINSTANCE = HINSTANCE__ * |
using | WIN32_FIND_DATAA = _WIN32_FIND_DATAA |
using | WNDPROC = std::intptr_t(*)(HWND, std::uint32_t, std::uintptr_t, std::intptr_t) |
using | GWL = GetWindowLongIndex |
using | ScopedHandle = std::unique_ptr< void, HandleCloser > |
using | GUID = _GUID |
using | IID = GUID |
using | REFIID = const IID & |
using | CLSID = GUID |
using | REFCLSID = const IID & |
using | DEV_BROADCAST_HDR = _DEV_BROADCAST_HDR |
using | DEV_BROADCAST_DEVICEINTERFACE_A = _DEV_BROADCAST_DEVICEINTERFACE_A |
using | DEV_BROADCAST_DEVICEINTERFACE = DEV_BROADCAST_DEVICEINTERFACE_A |
using | ScopedDeviceNotify = std::unique_ptr< void, DeviceNotifyCloser > |
Enumerations | |
enum class | GetWindowLongIndex { EXSTYLE = -20 , HINSTANCE = -6 , HWNDPARENT = -8 , ID = -12 , STYLE = -16 , USERDATA = -21 , WNDPROC = -4 } |
Functions | |
std::intptr_t | CallWindowProc (WNDPROC a_prevWndFunc, void *a_wnd, std::uint32_t a_msg, std::uintptr_t a_wParam, std::intptr_t a_lParam) |
ScopedHandle | CreateEventEx (SECURITY_ATTRIBUTES *a_eventAttributes, char *a_name, std::uint32_t a_flags, std::uint32_t a_desiredAccess) |
ScopedHandle | CreateEventEx (SECURITY_ATTRIBUTES *a_eventAttributes, wchar_t *a_name, std::uint32_t a_flags, std::uint32_t a_desiredAccess) |
void * | GetCurrentModule () noexcept |
void * | GetCurrentProcess () noexcept |
std::uint32_t | GetCurrentThreadID () noexcept |
std::uint32_t | GetEnvironmentVariable (const char *a_name, char *a_buffer, std::uint32_t a_size) noexcept |
std::uint32_t | GetEnvironmentVariable (const wchar_t *a_name, wchar_t *a_buffer, std::uint32_t a_size) noexcept |
bool | GetFileVersionInfo (const char *a_filename, std::uint32_t a_handle, std::uint32_t a_len, void *a_data) noexcept |
bool | GetFileVersionInfo (const wchar_t *a_filename, std::uint32_t a_handle, std::uint32_t a_len, void *a_data) noexcept |
std::uint32_t | GetFileVersionInfoSize (const char *a_filename, std::uint32_t *a_handle) noexcept |
std::uint32_t | GetFileVersionInfoSize (const wchar_t *a_filename, std::uint32_t *a_handle) noexcept |
std::size_t | GetMaxPath () noexcept |
std::uint32_t | GetModuleFileName (void *a_module, char *a_filename, std::uint32_t a_size) noexcept |
std::uint32_t | GetModuleFileName (void *a_module, wchar_t *a_filename, std::uint32_t a_size) noexcept |
void * | GetModuleHandle (const char *a_moduleName) noexcept |
void * | GetModuleHandle (const wchar_t *a_moduleName) noexcept |
void * | GetProcAddress (void *a_module, const char *a_procName) noexcept |
std::intptr_t | GetWindowLongPtr (HWND a_wnd, GetWindowLongIndex a_index) noexcept |
std::int32_t | MessageBox (void *a_wnd, const char *a_text, const char *a_caption, unsigned int a_type) noexcept |
std::int32_t | MessageBox (void *a_wnd, const wchar_t *a_text, const wchar_t *a_caption, unsigned int a_type) noexcept |
int | 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 | OutputDebugString (const char *a_outputString) noexcept |
void | OutputDebugString (const wchar_t *a_outputString) noexcept |
ScopedDeviceNotify | RegisterDeviceNotification (void *a_recipient, void *a_notificationFilter, std::uint32_t a_flags) noexcept |
bool | SetEvent (ScopedHandle &a_event) noexcept |
std::intptr_t | SetWindowLongPtr (HWND a_wnd, GetWindowLongIndex a_index, std::intptr_t a_newLong) noexcept |
void * | SetWindowLongPtr (HWND a_wnd, GetWindowLongIndex a_index, void *a_newLong) noexcept |
void | TerminateProcess (void *a_process, unsigned int a_exitCode) noexcept |
void * | TlsGetValue (std::uint32_t a_tlsIndex) noexcept |
bool | TlsSetValue (std::uint32_t a_tlsIndex, void *a_tlsValue) noexcept |
bool | VirtualFree (void *a_address, std::size_t a_size, std::uint32_t a_freeType) noexcept |
bool | VerQueryValue (const void *a_block, const char *a_subBlock, void **a_buffer, unsigned int *a_len) noexcept |
bool | VerQueryValue (const void *a_block, const wchar_t *a_subBlock, void **a_buffer, unsigned int *a_len) noexcept |
bool | VirtualProtect (void *a_address, std::size_t a_size, std::uint32_t a_newProtect, std::uint32_t *a_oldProtect) noexcept |
std::uint32_t | WaitForMultipleObjectsEx (std::span< void *const > a_handles, bool a_waitAll, std::uint32_t a_milliseconds, bool a_alertable) |
std::uint32_t | WaitForSingleObjectEx (ScopedHandle &a_handle, std::uint32_t a_milliseconds, bool a_alertable) noexcept |
int | 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 | CP_UTF8 { static_cast<unsigned int>(65001) } |
constexpr auto | IMAGE_SCN_MEM_EXECUTE { static_cast<std::uint32_t>(0x20000000) } |
constexpr auto | IMAGE_SCN_MEM_WRITE { static_cast<std::uint32_t>(0x80000000) } |
const auto | INVALID_HANDLE_VALUE { reinterpret_cast<void*>(static_cast<std::intptr_t>(-1)) } |
constexpr auto | MAX_PATH { static_cast<std::uint32_t>(260) } |
constexpr auto | MEM_RELEASE { static_cast<std::uint32_t>(0x00008000) } |
constexpr auto | PAGE_EXECUTE_READWRITE { static_cast<std::uint32_t>(0x40) } |
using SKSE::WinAPI::CLSID = typedef GUID |
using SKSE::WinAPI::DEV_BROADCAST_HDR = typedef _DEV_BROADCAST_HDR |
using SKSE::WinAPI::FILETIME = typedef _FILETIME |
using SKSE::WinAPI::GUID = typedef _GUID |
using SKSE::WinAPI::GWL = typedef GetWindowLongIndex |
using SKSE::WinAPI::HINSTANCE = typedef HINSTANCE__* |
using SKSE::WinAPI::HWND = typedef HWND__* |
using SKSE::WinAPI::IID = typedef GUID |
using SKSE::WinAPI::REFCLSID = typedef const IID& |
using SKSE::WinAPI::REFIID = typedef const IID& |
using SKSE::WinAPI::ScopedDeviceNotify = typedef std::unique_ptr<void, DeviceNotifyCloser> |
using SKSE::WinAPI::ScopedHandle = typedef std::unique_ptr<void, HandleCloser> |
using SKSE::WinAPI::WIN32_FIND_DATAA = typedef _WIN32_FIND_DATAA |
using SKSE::WinAPI::WNDPROC = typedef std::intptr_t (*)(HWND, std::uint32_t, std::uintptr_t, std::intptr_t) |
|
strong |
std::intptr_t SKSE::WinAPI::CallWindowProc | ( | WNDPROC | a_prevWndFunc, |
void * | a_wnd, | ||
std::uint32_t | a_msg, | ||
std::uintptr_t | a_wParam, | ||
std::intptr_t | a_lParam | ||
) |
ScopedHandle SKSE::WinAPI::CreateEventEx | ( | SECURITY_ATTRIBUTES * | a_eventAttributes, |
char * | a_name, | ||
std::uint32_t | a_flags, | ||
std::uint32_t | a_desiredAccess | ||
) |
ScopedHandle SKSE::WinAPI::CreateEventEx | ( | SECURITY_ATTRIBUTES * | a_eventAttributes, |
wchar_t * | a_name, | ||
std::uint32_t | a_flags, | ||
std::uint32_t | a_desiredAccess | ||
) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
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 | ||
) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
std::uint32_t SKSE::WinAPI::WaitForMultipleObjectsEx | ( | std::span< void *const > | a_handles, |
bool | a_waitAll, | ||
std::uint32_t | a_milliseconds, | ||
bool | a_alertable | ||
) |
|
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 | ||
) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |