25 #pragma pack(push,_CRT_PACKING)
32 #ifndef _FSIZE_T_DEFINED
34 #define _FSIZE_T_DEFINED
37 #ifndef _FINDDATA_T_DEFINED
75 #ifdef _USE_32BIT_TIME_T
76 #define _finddata_t _finddata32_t
77 #define _finddatai64_t _finddata32i64_t
79 #define _findfirst _findfirst32
80 #define _findnext _findnext32
81 #define _findfirsti64 _findfirst32i64
82 #define _findnexti64 _findnext32i64
85 #define _finddata_t _finddata64i32_t
86 #define _finddatai64_t __finddata64_t
88 #define _findfirst _findfirst64i32
89 #define _findnext _findnext64i32
90 #define _findfirsti64 _findfirst64
91 #define _findnexti64 _findnext64
96 #define _FINDDATA_T_DEFINED
99 #ifndef _WFINDDATA_T_DEFINED
137 #ifdef _USE_32BIT_TIME_T
138 #define _wfinddata_t _wfinddata32_t
139 #define _wfinddatai64_t _wfinddata32i64_t
141 #define _wfindfirst _wfindfirst32
142 #define _wfindnext _wfindnext32
143 #define _wfindfirsti64 _wfindfirst32i64
144 #define _wfindnexti64 _wfindnext32i64
147 #define _wfinddata_t _wfinddata64i32_t
148 #define _wfinddatai64_t _wfinddata64_t
150 #define _wfindfirst _wfindfirst64i32
151 #define _wfindnext _wfindnext64i32
152 #define _wfindfirsti64 _wfindfirst64
153 #define _wfindnexti64 _wfindnext64
157 #define _WFINDDATA_T_DEFINED
162 #define _A_NORMAL 0x00
163 #define _A_RDONLY 0x01
164 #define _A_HIDDEN 0x02
165 #define _A_SYSTEM 0x04
166 #define _A_SUBDIR 0x10
171 #ifndef _SIZE_T_DEFINED
173 typedef unsigned __int64
size_t;
177 #define _SIZE_T_DEFINED
202 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
207 #ifndef _CRT_DIRECTORY_DEFINED
208 #define _CRT_DIRECTORY_DEFINED
236 #if !defined (__cplusplus)
272 #if !defined (__cplusplus) || !defined (_M_IX86)
292 #ifndef _NOT_CRTL_BUILD_
301 #if defined (_CRT_DISABLE_PERFCRIT_LOCKS) && !defined (_DLL)
302 #define _chsize(fh, size) _chsize_nolock(fh, size)
303 #define _close(fh) _close_nolock(fh)
304 #define _lseek(fh, offset, origin) _lseek_nolock(fh, offset, origin)
305 #define _setmode(fh, mode) _setmode_nolock(fh, mode)
306 #define _read(fh, buff, count) _read_nolock(fh, buff, count)
307 #define _write(fh, buff, count) _write_nolock(fh, buff, count)
308 #define _lseeki64(fh,offset,origin) _lseeki64_nolock(fh,offset,origin)
321 #pragma warning(push)
322 #pragma warning(disable: 4141)
_Check_return_ _CRTIMP int __cdecl _findnext32i64(_In_ intptr_t _FindHandle, _Out_ struct _finddata32i64_t *_FindData)
#define _Out_
Definition: sal.h:351
_Check_return_ _In_ int _OpenFlag
Definition: io.h:237
_Check_return_ _CRTIMP int __cdecl _wfindnext64(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata64_t *_FindData)
_Check_return_opt_ _In_ long _Offset
Definition: io.h:334
char name[260]
Definition: io.h:63
_Check_return_ _In_ int _Check_return_ _In_ int int _ShareFlag
Definition: io.h:238
_Check_return_ _CRTIMP int __cdecl _wfindnext64i32(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata64i32_t *_FindData)
_Check_return_ _In_ unsigned int _PipeSize
Definition: io.h:203
_Check_return_ _In_reads_bytes_(_MaxCharCount) const void *_Buf
_Check_return_opt_ _CRTIMP int __cdecl _close(_In_ int _FileHandle)
_Check_return_opt_ _CRTIMP long __cdecl _lseek(_In_ int _FileHandle, _In_ long _Offset, _In_ int _Origin)
__int64 size
Definition: io.h:115
__time64_t time_write
Definition: io.h:70
__time32_t time_create
Definition: io.h:50
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst64i32(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata64i32_t *_FindData)
_Check_return_ _CRTIMP int __cdecl _findnext64(_In_ intptr_t _FindHandle, _Out_ struct __finddata64_t *_FindData)
_Check_return_ _In_ int _Out_writes_bytes_(_MaxCharCount) void *_DstBuf
__time64_t time_create
Definition: io.h:68
__time64_t time_create
Definition: io.h:121
_Check_return_ _CRTIMP int __cdecl _access(_In_z_ const char *_Filename, _In_ int _AccessMode)
_fsize_t size
Definition: io.h:124
_Check_return_opt_ _CRTIMP int __cdecl _commit(_In_ int _FileHandle)
_Check_return_opt_ _CRTIMP __int64 __cdecl _lseeki64(_In_ int _FileHandle, _In_ __int64 _Offset, _In_ int _Origin)
_Check_return_ _In_ int _Mode
Definition: io.h:338
unsigned attrib
Definition: io.h:111
#define _CRTIMP
Definition: crtdefs.h:23
_fsize_t size
Definition: io.h:62
_Check_return_ _In_ unsigned int _In_ int _TextMode
Definition: io.h:203
#define _Inout_updates_(size)
Definition: sal.h:393
_Check_return_ _CRTIMP intptr_t __cdecl _findfirst32(_In_z_ const char *_Filename, _Out_ struct _finddata32_t *_FindData)
_CRTIMP errno_t __cdecl _wmktemp_s(_Inout_updates_z_(_SizeInWords) wchar_t *_TemplateName, _In_ size_t _SizeInWords)
unsigned attrib
Definition: io.h:67
_W64 unsigned int size_t
Definition: crtdefs.h:496
__time32_t time_create
Definition: io.h:103
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst)
Definition: crtdefs.h:845
_CRTIMP intptr_t __cdecl _get_osfhandle(_In_ int _FileHandle)
char name[260]
Definition: io.h:72
_Check_return_ _In_ int _In_ long _NumOfBytes
Definition: io.h:333
_Check_return_ _In_ int _In_ unsigned int _MaxCharCount
Definition: io.h:337
char name[260]
Definition: io.h:54
_Check_return_ _CRTIMP int __cdecl _findnext32(_In_ intptr_t _FindHandle, _Out_ struct _finddata32_t *_FindData)
unsigned attrib
Definition: io.h:58
__int64 size
Definition: io.h:133
_Check_return_ _CRTIMP int __cdecl _chmod(_In_z_ const char *_Filename, _In_ int _Mode)
_Check_return_wat_ _CRTIMP errno_t __cdecl _mktemp_s(_Inout_updates_z_(_Size) char *_TemplateName, _In_ size_t _Size)
_Check_return_ _CRTIMP int __cdecl _isatty(_In_ int _FileHandle)
_Check_return_wat_ _CRTIMP errno_t __cdecl _waccess_s(_In_z_ const wchar_t *_Filename, _In_ int _AccessMode)
unsigned long _fsize_t
Definition: io.h:33
_fsize_t size
Definition: io.h:44
_Check_return_ _CRTIMP intptr_t __cdecl _findfirst64i32(_In_z_ const char *_Filename, _Out_ struct _finddata64i32_t *_FindData)
__time32_t time_write
Definition: io.h:43
__time64_t time_access
Definition: io.h:60
_Check_return_ _CRTIMP int __cdecl _wrename(_In_z_ const wchar_t *_OldFilename, _In_z_ const wchar_t *_NewFilename)
_Check_return_ _CRTIMP intptr_t __cdecl _findfirst64(_In_z_ const char *_Filename, _Out_ struct __finddata64_t *_FindData)
_CRTIMP _Pre_notnull_ _Post_z_ char * _DstBuf
Definition: stdlib.h:483
_Check_return_ _In_ int _Check_return_ _In_ int int _Check_return_ _CRTIMP int __cdecl _waccess(_In_z_ const wchar_t *_Filename, _In_ int _AccessMode)
_Check_return_ _CRTIMP int __cdecl _read(_In_ int _FileHandle, _Out_writes_bytes_(_MaxCharCount) void *_DstBuf, _In_ unsigned int _MaxCharCount)
_W64 long __time32_t
Definition: crtdefs.h:567
_Check_return_ _CRTIMP int __cdecl _dup(_In_ int _FileHandle)
_Check_return_wat_ _CRTIMP errno_t __cdecl _chsize_s(_In_ int _FileHandle, _In_ __int64 _Size)
_fsize_t size
Definition: io.h:106
#define _Check_return_
Definition: sal.h:563
_Check_return_ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(char *, __RETURN_POLICY_DST, _CRTIMP, _mktemp, _Inout_z_, char, _TemplateName) _Check_return_ _CRTIMP int __cdecl _pipe(_Inout_updates_(2) int *_PtHandles
char name[260]
Definition: io.h:45
#define _In_z_
Definition: sal.h:319
#define _In_
Definition: sal.h:314
_CRTIMP int __cdecl _unlink(_In_z_ const char *_Filename)
_CRTIMP int __cdecl _write(_In_ int _FileHandle, _In_reads_bytes_(_MaxCharCount) const void *_Buf, _In_ unsigned int _MaxCharCount)
__time64_t time_access
Definition: io.h:131
__time64_t time_write
Definition: io.h:123
unsigned attrib
Definition: io.h:40
_Check_return_opt_ _In_ long _In_ int _Origin
Definition: io.h:334
__time64_t time_create
Definition: io.h:59
unsigned attrib
Definition: io.h:120
#define _Inout_z_
Definition: sal.h:389
unsigned attrib
Definition: io.h:102
_Check_return_ _CRTIMP __int64 __cdecl _filelengthi64(_In_ int _FileHandle)
_Check_return_ _CRTIMP long __cdecl _tell(_In_ int _FileHandle)
unsigned attrib
Definition: io.h:49
_CRTIMP int __cdecl _locking(_In_ int _FileHandle, _In_ int _LockMode, _In_ long _NumOfBytes)
_Check_return_ _CRTIMP int __cdecl _setmode(_In_ int _FileHandle, _In_ int _Mode)
#define _Prepost_z_
Definition: sal.h:714
int errno_t
Definition: crtdefs.h:563
_Check_return_ _In_ int _PermissionMode
Definition: io.h:188
_In_z_ const char * _Filename
Definition: process.h:211
#define _W64
Definition: crtdefs.h:100
_Check_return_ _In_ int _FileHandleDst
Definition: io.h:329
_Check_return_wat_ _CRTIMP errno_t __cdecl _access_s(_In_z_ const char *_Filename, _In_ int _AccessMode)
__time32_t time_write
Definition: io.h:52
_Check_return_ _CRT_INSECURE_DEPRECATE(_sopen_s) _CRTIMP int __cdecl _creat(_In_z_ const char *_Filename
#define __RETURN_POLICY_DST(_FunctionCall)
Definition: crtdefs.h:1928
__time64_t time_access
Definition: io.h:69
__time32_t time_access
Definition: io.h:113
_Check_return_ _CRTIMP int __cdecl _dup2(_In_ int _FileHandleSrc, _In_ int _FileHandleDst)
__time32_t time_access
Definition: io.h:104
_Check_return_ _CRTIMP int __cdecl rename(_In_z_ const char *_OldFilename, _In_z_ const char *_NewFilename)
_CRTIMP int __cdecl _open_osfhandle(_In_ intptr_t _OSFileHandle, _In_ int _Flags)
wchar_t name[260]
Definition: io.h:116
#define _Check_return_wat_
Definition: crtdefs.h:2128
#define _Check_return_opt_
Definition: crtdefs.h:2122
_Check_return_ _CRTIMP __int64 __cdecl _telli64(_In_ int _FileHandle)
_Check_return_ _CRTIMP intptr_t __cdecl _findfirst32i64(_In_z_ const char *_Filename, _Out_ struct _finddata32i64_t *_FindData)
_Inout_updates_z_(_SizeInBytes) char *_Buf2
_Check_return_ _CRTIMP long __cdecl _filelength(_In_ int _FileHandle)
__time64_t time_write
Definition: io.h:132
_Check_return_wat_ _CRTIMP errno_t __cdecl _wsopen_s(_Out_ int *_FileHandle, _In_z_ const wchar_t *_Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, _In_ int _PermissionFlag)
__time32_t time_access
Definition: io.h:51
wchar_t name[260]
Definition: io.h:134
__time64_t time_write
Definition: io.h:61
wchar_t name[260]
Definition: io.h:107
__int64 size
Definition: io.h:53
_CRT_NONSTDC_DEPRECATE(_unlink) _CRTIMP int __cdecl unlink(_In_z_ const char *_Filename)
__time32_t time_write
Definition: io.h:114
int __cdecl __lock_fhandle(_In_ int _Filehandle)
__int64 size
Definition: io.h:71
_W64 int intptr_t
Definition: crtdefs.h:512
_CRTIMP int __cdecl _wunlink(_In_z_ const wchar_t *_Filename)
__time32_t time_write
Definition: io.h:105
unsigned attrib
Definition: io.h:129
__time32_t time_access
Definition: io.h:42
__int64 __time64_t
Definition: crtdefs.h:572
_Check_return_ _CRTIMP int __cdecl _eof(_In_ int _FileHandle)
_Check_return_opt_ _CRTIMP int __cdecl _findclose(_In_ intptr_t _FindHandle)
_Check_return_ _CRTIMP int __cdecl _chsize(_In_ int _FileHandle, _In_ long _Size)
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32i64(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata32i64_t *_FindData)
_Check_return_ _In_ int _AccessMode
Definition: io.h:323
_Check_return_ _CRTIMP int __cdecl _wfindnext32(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata32_t *_FindData)
_Check_return_ _CRTIMP int __cdecl _wchmod(_In_z_ const wchar_t *_Filename, _In_ int _Mode)
_Check_return_ _CRTIMP int __cdecl _wfindnext32i64(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata32i64_t *_FindData)
_Check_return_ _In_ long _Size
Definition: io.h:325
_Check_return_ _CRTIMP int __cdecl _findnext64i32(_In_ intptr_t _FindHandle, _Out_ struct _finddata64i32_t *_FindData)
_Check_return_ _In_ int _LockMode
Definition: io.h:333
_Check_return_wat_ _CRTIMP errno_t __cdecl _umask_s(_In_ int _NewMode, _Out_ int *_OldMode)
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata32_t *_FindData)
__time64_t time_create
Definition: io.h:130
__time64_t time_access
Definition: io.h:122
wchar_t name[260]
Definition: io.h:125
__time32_t time_create
Definition: io.h:112
__time32_t time_create
Definition: io.h:41
_Check_return_wat_ _CRTIMP errno_t __cdecl _sopen_s(_Out_ int *_FileHandle, _In_z_ const char *_Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, _In_ int _PermissionMode)
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst64(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata64_t *_FindData)
_Check_return_ errno_t __cdecl _sopen_s_nolock(_Out_ int *_FileHandle, _In_z_ const char *_Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, _In_ int _PermissionMode)
void __cdecl _unlock_fhandle(_In_ int _Filehandle)