| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Windows Kits/10/Source/10.0.26100.0/ucrt/internal/ |
Upload File : |
//
// OutputDebugStringA.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Definition of __acrt_OutputDebugStringA.
//
#include <corecrt_internal_win32_buffer.h>
void WINAPI __acrt_OutputDebugStringA(
LPCSTR const text
)
{
if (text == nullptr)
{
return;
}
size_t const text_size = strlen(text) + 1;
if (text_size == 0)
{
return;
}
// Use alloca instead of heap, since this code is executed during asserts
auto text_wide = (wchar_t*)_alloca(text_size * sizeof(wchar_t));
size_t converted;
if (mbstowcs_s(&converted, text_wide, text_size, text, text_size - 1) == 0)
{
OutputDebugStringW(text_wide);
}
}