35 return reinterpret_cast<unsigned long long>(Win32::GetCurrentProcess());
39 switch (ACallNumber) {
41 return static_cast<unsigned long long>(Win32::TerminateProcess(AArg1.FPointer, 0));
43 Win32::FreeLibrary(static_cast<Win32::HMODULE>(AArg1.FPointer));
48 wchar_t Unicode[MAX_PATH];
50 if (Win32::MultiByteToWideChar(CP_UTF8, 0, String.
CString(),
static_cast<int>(String.
RawLength() + 1), Unicode, MAX_PATH) > MAX_PATH)
52 return reinterpret_cast<unsigned long long>(Win32::LoadLibraryW(Unicode));
55 case GET_CURRENT_PROCESS:
62 using namespace Win32;
63 switch (ACallNumber) {
65 return reinterpret_cast<unsigned long long>(GetProcAddress(static_cast<HMODULE>(AArg1.FPointer), static_cast<const char* const>(AArg2.FPointer)));
69 case GET_CURRENT_PROCESS:
int RawLength(void) const noexcept
Get the byte length of the contained CString.
A string pointing to unchanging data in the stack above it or the data segment. Must have UTF-8 encod...
static void HCF(void) noexcept
Indicates unreachable code. Implementation can be overriden by defining ASSERTION_OVERRIDE.
static void Equal(const AType &ALHS, const AType &ARHS) noexcept
Equivalence assertion function. May not be evaluated.
Precompiled header for inter-engine operations.
const char * CString(void) const noexcept
Get the contained const CString.