ReactOS 0.4.16-dev-1049-g378a335
SetCurrentDirectoryA.cpp
Go to the documentation of this file.
1//
2// SetCurrentDirectoryA.cpp
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// Definition of __acrt_SetCurrentDirectoryA.
7//
8
10
12 LPCSTR const lpPathName
13 )
14{
16
18 lpPathName,
19 wide_path_name,
21 );
22
23 if (cvt1 != 0) {
24 return FALSE;
25 }
26
27 return ::SetCurrentDirectoryW(wide_path_name.data());
28}
BOOL __cdecl __acrt_SetCurrentDirectoryA(LPCSTR const lpPathName)
#define __cdecl
Definition: accygwin.h:79
errno_t __acrt_mbs_to_wcs_cp(char const *const null_terminated_input_string, __crt_win32_buffer< wchar_t, ResizePolicy > &win32_buffer, unsigned int const code_page)
unsigned int __acrt_get_utf8_acp_compatibility_codepage()
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
errno_t const cvt1
Definition: strftime.cpp:139
int errno_t
Definition: corecrt.h:615
const char * LPCSTR
Definition: xmlstorage.h:183