25 auto text_wide = (
wchar_t*)_alloca(text_size *
sizeof(
wchar_t));
27 if (
mbstowcs_s(&converted, text_wide, text_size,
text, text_size - 1) == 0)
void WINAPI __acrt_OutputDebugStringA(LPCSTR const text)
ACPI_SIZE strlen(const char *String)
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
errno_t mbstowcs_s(size_t *cchConverted, wchar_t *widechar, size_t charoutct, const char *multibyte, size_t count)