22 if (get_temp_path_result == 0)
29#pragma warning(suppress:__WARNING_W2A_BEST_FIT)
31 if (wctmb_result == 0)
38 return wctmb_result - 1;
return __acrt_WideCharToMultiByte(code_page, 0, buffer.get(), -1, result_size !=0 ? result :nullptr, result_size, nullptr, nullptr)
int WINAPI __acrt_GetTempPath2W(_In_ DWORD nBufferLength, _Out_writes_to_opt_(BufferLength, return+1) LPWSTR lpBuffer)
_Out_opt_ UINT * code_page
BOOL WINAPI __acrt_AreFileApisANSI(void)
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
DWORD __cdecl __acrt_GetTempPath2A(DWORD nBufferLength, LPSTR lpBuffer)
_In_ LPCSTR _In_opt_ LPCSTR _In_ DWORD nBufferLength