#include <corecrt_internal.h>
#include <io.h>
Go to the source code of this file.
◆ __acrt_GetTempPath2A()
Definition at line 17 of file gettemppath.cpp.
18{
20
22 if (get_temp_path_result == 0)
23 {
24 return 0;
25 }
26
29#pragma warning(suppress:__WARNING_W2A_BEST_FIT)
31 if (wctmb_result == 0)
32 {
33 return 0;
34 }
35
36
37
38 return wctmb_result - 1;
39}
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
_In_ LPCSTR _In_opt_ LPCSTR _In_ DWORD nBufferLength