ReactOS 0.4.16-dev-1104-ge0ef51b
corecrt_wdirect.h
Go to the documentation of this file.
1//
2// corecrt_wdirect.h
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// This file declares the wide character (wchar_t) directory functionality, shared
7// by <direct.h> and <wchar.h>.
8//
9#pragma once
10
11#include <corecrt.h>
12
13#pragma warning(push)
14#pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
18
19#pragma push_macro("_wgetcwd")
20#pragma push_macro("_wgetdcwd")
21#undef _wgetcwd
22#undef _wgetdcwd
23
24_Success_(return != 0)
27 _Out_writes_opt_z_(_SizeInWords) wchar_t* _DstBuf,
29 );
30
31_Success_(return != 0)
34 _In_ int _Drive,
37 );
38
39#define _wgetdcwd_nolock _wgetdcwd
40
41#pragma pop_macro("_wgetcwd")
42#pragma pop_macro("_wgetdcwd")
43
46 _In_z_ wchar_t const* _Path
47 );
48
51 _In_z_ wchar_t const* _Path
52 );
53
56 _In_z_ wchar_t const* _Path
57 );
58
59
60
63#pragma warning(pop) // _UCRT_DISABLED_WARNINGS
#define __cdecl
Definition: accygwin.h:79
return
Definition: dirsup.c:529
_Check_return_ _ACRTIMP int __cdecl _wchdir(_In_z_ wchar_t const *_Path)
_UCRT_DISABLE_CLANG_WARNINGS _CRT_BEGIN_C_HEADER _In_ int _SizeInWords
_Check_return_ _ACRTIMP int __cdecl _wrmdir(_In_z_ wchar_t const *_Path)
_Check_return_ _ACRTIMP int __cdecl _wmkdir(_In_z_ wchar_t const *_Path)
_Check_return_ _Ret_opt_z_ _CRTIMP wchar_t *__cdecl _wgetdcwd(_In_ int _Drive, _Out_writes_opt_(_SizeInWords) wchar_t *_DstBuf, _In_ int _SizeInWords)
_Check_return_ _Ret_opt_z_ _CRTIMP wchar_t *__cdecl _wgetcwd(_Out_writes_opt_(_SizeInWords) wchar_t *_DstBuf, _In_ int _SizeInWords)
_Pre_notnull_ _In_opt_z_ char const _Drive
Definition: stdlib.h:1098
_In_z_ char const * _Path
Definition: stdlib.h:1070
#define _Success_(c)
Definition: no_sal2.h:84
#define _In_z_
Definition: no_sal2.h:164
#define _Check_return_
Definition: no_sal2.h:60
#define _Out_writes_opt_z_(s)
Definition: no_sal2.h:230
#define _In_
Definition: no_sal2.h:158
#define _Ret_maybenull_z_
Definition: no_sal2.h:330
#define _ACRTIMP
Definition: corecrt.h:138
#define _CRTALLOCATOR
Definition: corecrt.h:167
#define _UCRT_DISABLE_CLANG_WARNINGS
Definition: corecrt.h:109
#define _UCRT_RESTORE_CLANG_WARNINGS
Definition: corecrt.h:117
#define _CRT_END_C_HEADER
Definition: vcruntime.h:42
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:40