ReactOS 0.4.16-dev-1520-gb558596
|
#include <stdarg.h>
#include <stdio.h>
#include "winerror.h"
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winternl.h"
#include "winioctl.h"
#include "wincon.h"
#include "fileapi.h"
#include "shlwapi.h"
#include "ddk/ntddk.h"
#include "ddk/ntddser.h"
#include "ioringapi.h"
#include "kernelbase.h"
#include "wine/exception.h"
#include "wine/debug.h"
Go to the source code of this file.
Classes | |
struct | FIND_FIRST_INFO |
Macros | |
#define | WIN32_NO_STATUS |
#define | FIND_FIRST_MAGIC 0xc0ffee11 |
Variables | |
static const UINT | max_entry_size = offsetof( FILE_BOTH_DIRECTORY_INFORMATION, FileName[256] ) |
const WCHAR | windows_dir [] = L"C:\\windows" |
const WCHAR | system_dir [] = L"C:\\windows\\system32" |
static BOOL | oem_file_apis |
static IO_STATUS_BLOCK | dummy_iosb |
Definition at line 142 of file file.c.
Referenced by MoveFileWithProgressW().
Definition at line 243 of file file.c.
Referenced by SearchPathW().
BOOL WINAPI DECLSPEC_HOTPATCH AreFileApisANSI | ( | void | ) |
Definition at line 483 of file file.c.
Referenced by cmpStrAW(), FilenameA2W(), FilenameA2W_N(), FilenameU2A_FitOrFail(), and FilenameW2A_N().
BOOL WINAPI DECLSPEC_HOTPATCH CancelIo | ( | HANDLE | handle | ) |
Definition at line 2994 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH CancelIoEx | ( | HANDLE | handle, |
LPOVERLAPPED | overlapped | ||
) |
Definition at line 3005 of file file.c.
Referenced by rpcrt4_conn_np_cancel_call().
BOOL WINAPI DECLSPEC_HOTPATCH CancelSynchronousIo | ( | HANDLE | thread | ) |
BOOL WINAPI DECLSPEC_HOTPATCH ClearCommBreak | ( | HANDLE | handle | ) |
Definition at line 4199 of file file.c.
Definition at line 4208 of file file.c.
Definition at line 4003 of file file.c.
Referenced by test_CopyFile2(), and test_CopyFileA().
Definition at line 102 of file file.c.
Referenced by SearchPathW().
|
static |
Definition at line 491 of file file.c.
Referenced by CopyFile2(), and CopyFileExW().
Definition at line 361 of file file.c.
Referenced by GetSystemDirectoryW(), GetSystemWow64Directory2W(), GetSystemWow64DirectoryW(), and GetWindowsDirectoryW().
Definition at line 378 of file file.c.
Referenced by GetCurrentDirectoryA(), GetFullPathNameA(), GetLongPathNameA(), GetSystemDirectoryA(), GetSystemWow64Directory2A(), GetSystemWow64DirectoryA(), GetTempPathA(), GetWindowsDirectoryA(), and SearchPathA().
HRESULT WINAPI CopyFile2 | ( | const WCHAR * | source, |
const WCHAR * | dest, | ||
COPYFILE2_EXTENDED_PARAMETERS * | params | ||
) |
Definition at line 600 of file file.c.
BOOL WINAPI CopyFileExW | ( | const WCHAR * | source, |
const WCHAR * | dest, | ||
LPPROGRESS_ROUTINE | progress, | ||
void * | param, | ||
BOOL * | cancel_ptr, | ||
DWORD | flags | ||
) |
Definition at line 609 of file file.c.
Referenced by CopyFileW(), MoveFileWithProgressW(), and transfer_file_local().
BOOL WINAPI DECLSPEC_HOTPATCH CopyFileW | ( | const WCHAR * | source, |
const WCHAR * | dest, | ||
BOOL | fail_if_exists | ||
) |
Definition at line 632 of file file.c.
Referenced by test_CopyFileW().
BOOL WINAPI DECLSPEC_HOTPATCH CreateDirectoryA | ( | LPCSTR | path, |
LPSECURITY_ATTRIBUTES | sa | ||
) |
Definition at line 641 of file file.c.
Referenced by test_CreateFileA(), test_DeleteFileA(), test_file_disposition_information(), test_FindFirstFile_wildcards(), test_FindFirstFileA(), test_FindFirstFileExA(), test_MoveFileA(), and test_RemoveDirectory().
BOOL WINAPI DECLSPEC_HOTPATCH CreateDirectoryExW | ( | LPCWSTR | template, |
LPCWSTR | path, | ||
LPSECURITY_ATTRIBUTES | sa | ||
) |
BOOL WINAPI DECLSPEC_HOTPATCH CreateDirectoryW | ( | LPCWSTR | path, |
LPSECURITY_ATTRIBUTES | sa | ||
) |
Definition at line 653 of file file.c.
Referenced by CreateDirectoryA(), CreateDirectoryExW(), delete_file_test(), test_CreateFile2(), test_CreateFileW(), test_DeleteFileW(), test_file_link_information(), test_file_rename_information(), and test_junction_points().
HANDLE WINAPI DECLSPEC_HOTPATCH CreateFile2 | ( | LPCWSTR | name, |
DWORD | access, | ||
DWORD | sharing, | ||
DWORD | creation, | ||
CREATEFILE2_EXTENDED_PARAMETERS * | params | ||
) |
Definition at line 698 of file file.c.
Referenced by win32_open64_file_func(), win32_open64_file_funcA(), win32_open64_file_funcW(), and win32_open_file_func().
HANDLE WINAPI DECLSPEC_HOTPATCH CreateFileA | ( | LPCSTR | name, |
DWORD | access, | ||
DWORD | sharing, | ||
LPSECURITY_ATTRIBUTES | sa, | ||
DWORD | creation, | ||
DWORD | attributes, | ||
HANDLE | template | ||
) |
Definition at line 741 of file file.c.
HANDLE WINAPI DECLSPEC_HOTPATCH CreateFileW | ( | LPCWSTR | filename, |
DWORD | access, | ||
DWORD | sharing, | ||
LPSECURITY_ATTRIBUTES | sa, | ||
DWORD | creation, | ||
DWORD | attributes, | ||
HANDLE | template | ||
) |
Definition at line 778 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH CreateHardLinkA | ( | const char * | dest, |
const char * | source, | ||
SECURITY_ATTRIBUTES * | attr | ||
) |
Definition at line 909 of file file.c.
BOOL WINAPI CreateHardLinkW | ( | LPCWSTR | dest, |
LPCWSTR | source, | ||
SECURITY_ATTRIBUTES * | sec_attr | ||
) |
Definition at line 931 of file file.c.
Referenced by CreateHardLinkA().
BOOL WINAPI DECLSPEC_HOTPATCH DeleteFileA | ( | LPCSTR | path | ) |
Definition at line 991 of file file.c.
Referenced by _tempnam(), _unlink(), append_file_test(), remove(), START_TEST(), test__creat(), test__hread(), test__hwrite(), test__lclose(), test__lcreat(), test__llopen(), test__llseek(), test__lread(), test__lwrite(), test__open_osfhandle(), test_close(), test_CopyFileA(), test_CopyFileEx(), test_CreateFile(), test_CreateFileA(), test_DeleteFileA(), test_file_disposition_information(), test_file_inherit(), test_file_sharing(), test_FindFirstFile_wildcards(), test_FindFirstFileA(), test_FindFirstFileExA(), test_flush_buffers_file(), test_GetFileInformationByHandleEx(), test_GetFileType(), test_LockFile(), test_lseek(), test_MapFile(), test_Mapfile_createtemp(), test_MoveFileA(), test_offset_in_overlapped_structure(), test_OpenFileById(), test_read_write(), test_ReplaceFileA(), test_SetFileValidData(), test_std_stream_buffering(), test_stdout_handle(), and test_WriteFileGather().
BOOL WINAPI DECLSPEC_HOTPATCH DeleteFileW | ( | LPCWSTR | path | ) |
Definition at line 1003 of file file.c.
Referenced by _wremove(), _wtempnam(), _wunlink(), delete_object(), DeleteFileA(), MoveFileWithProgressW(), open_file_test(), processFile(), ReplaceFileW(), test_CopyFile2(), test_CopyFileW(), test_CreateFile2(), test_CreateFileW(), test_DeleteFileW(), test_file_link_information(), test_file_rename_information(), test_junction_points(), test_MoveFileW(), test_NtCreateFile(), test_readonly(), and test_ReplaceFileW().
BOOL WINAPI DECLSPEC_HOTPATCH DeviceIoControl | ( | HANDLE | handle, |
DWORD | code, | ||
void * | in_buff, | ||
DWORD | in_count, | ||
void * | out_buff, | ||
DWORD | out_count, | ||
DWORD * | returned, | ||
OVERLAPPED * | overlapped | ||
) |
Definition at line 4246 of file file.c.
Referenced by ClearCommError(), EscapeCommFunction(), GetCommMask(), GetCommModemStatus(), GetCommProperties(), GetCommState(), GetCommTimeouts(), PurgeComm(), SetCommMask(), SetCommState(), SetCommTimeouts(), SetupComm(), test_junction_points(), TransmitCommChar(), and WaitCommEvent().
Definition at line 4186 of file file.c.
Referenced by GetCommState(), and SetCommState().
BOOL WINAPI DECLSPEC_HOTPATCH EscapeCommFunction | ( | HANDLE | handle, |
DWORD | func | ||
) |
Definition at line 4283 of file file.c.
Referenced by ClearCommBreak(), and SetCommBreak().
Definition at line 411 of file file.c.
Referenced by CreateDirectoryA(), CreateFileA(), CreateHardLinkA(), CreateProcessInternalA(), DeleteFileA(), FindFirstChangeNotificationA(), FindFirstFileExA(), GetCompressedFileSizeA(), GetDiskFreeSpaceA(), GetDiskFreeSpaceExA(), GetDriveTypeA(), GetFileAttributesA(), GetFileAttributesExA(), GetFullPathNameA(), GetLongPathNameA(), GetModuleHandleExA(), GetTempFileNameA(), GetVolumeInformationA(), LoadLibraryExA(), NeedCurrentDirectoryForExePathA(), RemoveDirectoryA(), SearchPathA(), SetCurrentDirectoryA(), and SetFileAttributesA().
Definition at line 438 of file file.c.
Referenced by FindFirstFileExA(), FindNextFileA(), GetFinalPathNameByHandleA(), GetFullPathNameA(), GetMappedFileNameA(), GetModuleFileNameA(), GetTempFileNameA(), and GetVolumeInformationA().
Definition at line 4017 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH FileTimeToSystemTime | ( | const FILETIME * | ft, |
SYSTEMTIME * | systime | ||
) |
Definition at line 4026 of file file.c.
Referenced by GetLocalTime(), and GetSystemTime().
Definition at line 269 of file file.c.
Referenced by SearchPathW().
BOOL WINAPI DECLSPEC_HOTPATCH FindClose | ( | HANDLE | handle | ) |
Definition at line 1525 of file file.c.
Referenced by FindFirstFileExW(), GetLongPathNameW(), GetShortPathNameW(), test__lcreat(), test_filemodeT(), test_FindFirstFile_wildcards(), test_FindFirstFileA(), test_FindFirstFileExA(), test_FindNextFileA(), and test_MoveFileA().
BOOL WINAPI DECLSPEC_HOTPATCH FindCloseChangeNotification | ( | HANDLE | handle | ) |
HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstChangeNotificationA | ( | LPCSTR | path, |
BOOL | subtree, | ||
DWORD | filter | ||
) |
Definition at line 1048 of file file.c.
HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstChangeNotificationW | ( | LPCWSTR | path, |
BOOL | subtree, | ||
DWORD | filter | ||
) |
Definition at line 1067 of file file.c.
Referenced by FindFirstChangeNotificationA().
HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileA | ( | const char * | filename, |
WIN32_FIND_DATAA * | data | ||
) |
Definition at line 1363 of file file.c.
Referenced by test__lcreat(), test_filemodeT(), test_FindFirstFile_wildcards(), test_FindFirstFileA(), test_FindNextFileA(), and test_MoveFileA().
HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileExA | ( | const char * | filename, |
FINDEX_INFO_LEVELS | level, | ||
void * | data, | ||
FINDEX_SEARCH_OPS | search_op, | ||
void * | filter, | ||
DWORD | flags | ||
) |
Definition at line 1122 of file file.c.
Referenced by FindFirstFileA().
HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileExW | ( | LPCWSTR | filename, |
FINDEX_INFO_LEVELS | level, | ||
LPVOID | data, | ||
FINDEX_SEARCH_OPS | search_op, | ||
LPVOID | filter, | ||
DWORD | flags | ||
) |
Definition at line 1180 of file file.c.
Referenced by FindFirstFileExA(), and FindFirstFileW().
HANDLE WINAPI FindFirstFileNameW | ( | const WCHAR * | file_name, |
DWORD | flags, | ||
DWORD * | len, | ||
WCHAR * | link_name | ||
) |
HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileW | ( | const WCHAR * | filename, |
WIN32_FIND_DATAW * | data | ||
) |
Definition at line 1372 of file file.c.
Referenced by GetLongPathNameW(), and GetShortPathNameW().
HANDLE WINAPI FindFirstStreamW | ( | const WCHAR * | filename, |
STREAM_INFO_LEVELS | level, | ||
void * | data, | ||
DWORD | flags | ||
) |
BOOL WINAPI DECLSPEC_HOTPATCH FindNextChangeNotification | ( | HANDLE | handle | ) |
BOOL WINAPI DECLSPEC_HOTPATCH FindNextFileA | ( | HANDLE | handle, |
WIN32_FIND_DATAA * | data | ||
) |
Definition at line 1401 of file file.c.
Referenced by test_FindFirstFile_wildcards(), test_FindFirstFileA(), test_FindFirstFileExA(), test_FindNextFileA(), and test_MoveFileA().
BOOL WINAPI DECLSPEC_HOTPATCH FindNextFileW | ( | HANDLE | handle, |
WIN32_FIND_DATAW * | data | ||
) |
Definition at line 1422 of file file.c.
Referenced by FindFirstFileExW(), and FindNextFileA().
Definition at line 1154 of file file.c.
Referenced by FindFirstFileExW(), and shader_glsl_color_correction_ext().
BOOL WINAPI DECLSPEC_HOTPATCH FlushFileBuffers | ( | HANDLE | file | ) |
Definition at line 3027 of file file.c.
Referenced by _commit().
Definition at line 79 of file file.c.
Referenced by GetSystemWow64Directory2A(), GetSystemWow64Directory2W(), GetSystemWow64DirectoryA(), and GetSystemWow64DirectoryW().
Definition at line 752 of file file.c.
Referenced by CreateFileW(), and ReOpenFile().
BOOL WINAPI DECLSPEC_HOTPATCH GetCommConfig | ( | HANDLE | handle, |
COMMCONFIG * | config, | ||
DWORD * | size | ||
) |
Definition at line 4311 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetCommMask | ( | HANDLE | handle, |
DWORD * | mask | ||
) |
BOOL WINAPI DECLSPEC_HOTPATCH GetCommModemStatus | ( | HANDLE | handle, |
DWORD * | status | ||
) |
Definition at line 4346 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetCommProperties | ( | HANDLE | handle, |
COMMPROP * | prop | ||
) |
Definition at line 4356 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetCommState | ( | HANDLE | handle, |
DCB * | dcb | ||
) |
Definition at line 4365 of file file.c.
Referenced by GetCommConfig().
BOOL WINAPI DECLSPEC_HOTPATCH GetCommTimeouts | ( | HANDLE | handle, |
COMMTIMEOUTS * | timeouts | ||
) |
Definition at line 4430 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH GetCompressedFileSizeA | ( | LPCSTR | name, |
LPDWORD | size_high | ||
) |
Definition at line 1570 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH GetCompressedFileSizeW | ( | LPCWSTR | name, |
LPDWORD | size_high | ||
) |
Definition at line 1582 of file file.c.
Referenced by GetCompressedFileSizeA().
UINT WINAPI DECLSPEC_HOTPATCH GetCurrentDirectoryA | ( | UINT | buflen, |
LPSTR | buf | ||
) |
Definition at line 1620 of file file.c.
Referenced by test_OpenFile().
UINT WINAPI DECLSPEC_HOTPATCH GetCurrentDirectoryW | ( | UINT | buflen, |
LPWSTR | buf | ||
) |
DWORD WINAPI DECLSPEC_HOTPATCH GetFileAttributesA | ( | LPCSTR | name | ) |
Definition at line 1659 of file file.c.
Referenced by _access(), _chmod(), _mktemp(), test__creat(), test__lcreat(), test_CopyFileEx(), test_file_disposition_information(), test_GetFileInformationByHandleEx(), test_OpenFile(), test_OpenFileById(), and tmpnam().
BOOL WINAPI DECLSPEC_HOTPATCH GetFileAttributesExA | ( | LPCSTR | name, |
GET_FILEEX_INFO_LEVELS | level, | ||
void * | ptr | ||
) |
Definition at line 1709 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetFileAttributesExW | ( | LPCWSTR | name, |
GET_FILEEX_INFO_LEVELS | level, | ||
void * | ptr | ||
) |
Definition at line 1721 of file file.c.
Referenced by GetFileAttributesExA(), and test_GetFileAttributesExW().
DWORD WINAPI DECLSPEC_HOTPATCH GetFileAttributesW | ( | LPCWSTR | name | ) |
Definition at line 1671 of file file.c.
Referenced by _waccess(), _wchmod(), _wmktemp(), _wtmpnam(), GetFileAttributesA(), GetTempFileNameW(), test_file_link_information(), test_file_rename_information(), test_junction_points(), and test_NtCreateFile().
BOOL WINAPI DECLSPEC_HOTPATCH GetFileInformationByHandle | ( | HANDLE | file, |
BY_HANDLE_FILE_INFORMATION * | info | ||
) |
Definition at line 3038 of file file.c.
Referenced by test_CreateFileA(), and test_file_id_information().
BOOL WINAPI DECLSPEC_HOTPATCH GetFileInformationByHandleEx | ( | HANDLE | handle, |
FILE_INFO_BY_HANDLE_CLASS | class, | ||
LPVOID | info, | ||
DWORD | size | ||
) |
Definition at line 3073 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH GetFileSize | ( | HANDLE | file, |
LPDWORD | size_high | ||
) |
Definition at line 3160 of file file.c.
Referenced by GetCompressedFileSizeW(), test_CopyFile2(), test_CopyFileA(), and test_ReplaceFileA().
BOOL WINAPI DECLSPEC_HOTPATCH GetFileSizeEx | ( | HANDLE | file, |
PLARGE_INTEGER | size | ||
) |
Definition at line 3174 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetFileTime | ( | HANDLE | file, |
FILETIME * | creation, | ||
FILETIME * | access, | ||
FILETIME * | write | ||
) |
Definition at line 3190 of file file.c.
Referenced by test_CopyFile2(), test_CopyFileA(), and test_ReplaceFileA().
DWORD WINAPI DECLSPEC_HOTPATCH GetFileType | ( | HANDLE | file | ) |
Definition at line 3221 of file file.c.
Referenced by _open_osfhandle(), _wsopen_s(), msvcrt_init_io(), and test_GetFileType().
DWORD WINAPI DECLSPEC_HOTPATCH GetFinalPathNameByHandleA | ( | HANDLE | file, |
LPSTR | path, | ||
DWORD | count, | ||
DWORD | flags | ||
) |
Definition at line 1770 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH GetFinalPathNameByHandleW | ( | HANDLE | file, |
LPWSTR | path, | ||
DWORD | count, | ||
DWORD | flags | ||
) |
Definition at line 1810 of file file.c.
Referenced by GetFinalPathNameByHandleA().
DWORD WINAPI DECLSPEC_HOTPATCH GetFullPathNameA | ( | LPCSTR | name, |
DWORD | len, | ||
LPSTR | buffer, | ||
LPSTR * | lastpart | ||
) |
Definition at line 1949 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH GetFullPathNameW | ( | LPCWSTR | name, |
DWORD | len, | ||
LPWSTR | buffer, | ||
LPWSTR * | lastpart | ||
) |
Definition at line 1980 of file file.c.
Referenced by GetFullPathNameA(), GetTempPathW(), and SearchPathW().
void WINAPI DECLSPEC_HOTPATCH GetLocalTime | ( | SYSTEMTIME * | systime | ) |
Definition at line 4052 of file file.c.
Definition at line 1989 of file file.c.
Referenced by test_GetFinalPathNameByHandleA().
DWORD WINAPI DECLSPEC_HOTPATCH GetLongPathNameW | ( | LPCWSTR | shortpath, |
LPWSTR | longpath, | ||
DWORD | longlen | ||
) |
Definition at line 2014 of file file.c.
Referenced by GetLongPathNameA(), and test_GetFinalPathNameByHandleW().
BOOL WINAPI DECLSPEC_HOTPATCH GetOverlappedResult | ( | HANDLE | file, |
LPOVERLAPPED | overlapped, | ||
LPDWORD | result, | ||
BOOL | wait | ||
) |
Definition at line 3255 of file file.c.
Referenced by test_async_file_errors(), test_file_completion_information(), test_overlapped(), and test_read_write().
BOOL WINAPI DECLSPEC_HOTPATCH GetOverlappedResultEx | ( | HANDLE | file, |
OVERLAPPED * | overlapped, | ||
DWORD * | result, | ||
DWORD | timeout, | ||
BOOL | alertable | ||
) |
Definition at line 3265 of file file.c.
Referenced by GetOverlappedResult().
DWORD WINAPI DECLSPEC_HOTPATCH GetShortPathNameW | ( | LPCWSTR | longpath, |
LPWSTR | shortpath, | ||
DWORD | shortlen | ||
) |
Definition at line 2122 of file file.c.
UINT WINAPI DECLSPEC_HOTPATCH GetSystemDirectoryA | ( | LPSTR | path, |
UINT | count | ||
) |
UINT WINAPI DECLSPEC_HOTPATCH GetSystemDirectoryW | ( | LPWSTR | path, |
UINT | count | ||
) |
Definition at line 2258 of file file.c.
Referenced by open_file_test(), test_file_all_name_information(), and test_file_name_information().
void WINAPI DECLSPEC_HOTPATCH GetSystemTime | ( | SYSTEMTIME * | systime | ) |
BOOL WINAPI DECLSPEC_HOTPATCH GetSystemTimeAdjustment | ( | DWORD * | adjust, |
DWORD * | increment, | ||
BOOL * | disabled | ||
) |
Definition at line 4077 of file file.c.
void WINAPI DECLSPEC_HOTPATCH GetSystemTimeAsFileTime | ( | FILETIME * | time | ) |
void WINAPI DECLSPEC_HOTPATCH GetSystemTimePreciseAsFileTime | ( | FILETIME * | time | ) |
UINT WINAPI DECLSPEC_HOTPATCH GetSystemWindowsDirectoryA | ( | LPSTR | path, |
UINT | count | ||
) |
Definition at line 2267 of file file.c.
UINT WINAPI DECLSPEC_HOTPATCH GetSystemWindowsDirectoryW | ( | LPWSTR | path, |
UINT | count | ||
) |
Definition at line 2276 of file file.c.
UINT WINAPI DECLSPEC_HOTPATCH GetTempFileNameA | ( | LPCSTR | path, |
LPCSTR | prefix, | ||
UINT | unique, | ||
LPSTR | buffer | ||
) |
Definition at line 2335 of file file.c.
Referenced by _tempnam(), append_file_test(), create_temp_file(), START_TEST(), test_CopyFileA(), test_CopyFileEx(), test_CreateFile(), test_CreateFileA(), test_DeleteFileA(), test_fgetwc_locale(), test_fgetwc_unicode(), test_file_access(), test_file_disposition_information(), test_filemodeT(), test_FindFirstFileA(), test_flush_buffers_file(), test_fopen_hints(), test_fputwc(), test_GetFileInformationByHandleEx(), test_GetFinalPathNameByHandleA(), test_GetTempFileNameA(), test_MoveFileA(), test_offset_in_overlapped_structure(), test_open_hints(), test_OpenFileById(), test_read_write(), test_ReplaceFileA(), test_SetFileInformationByHandle(), test_SetFileValidData(), and test_WriteFileGather().
UINT WINAPI DECLSPEC_HOTPATCH GetTempFileNameW | ( | LPCWSTR | path, |
LPCWSTR | prefix, | ||
UINT | unique, | ||
LPWSTR | buffer | ||
) |
Definition at line 2355 of file file.c.
Referenced by _wtempnam(), GetTempFileNameA(), open_file_test(), processFile(), ReplaceFileW(), test_CopyFile2(), test_CopyFileW(), test_CreateFile2(), test_CreateFileW(), test_file_link_information(), test_file_rename_information(), test_GetFinalPathNameByHandleW(), test_junction_points(), test_MoveFileW(), test_NtCreateFile(), test_readonly(), and test_ReplaceFileW().
DWORD WINAPI DECLSPEC_HOTPATCH GetTempPath2A | ( | DWORD | count, |
LPSTR | path | ||
) |
Definition at line 2491 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH GetTempPath2W | ( | DWORD | count, |
LPWSTR | path | ||
) |
Definition at line 2502 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH GetTempPathA | ( | DWORD | count, |
LPSTR | path | ||
) |
Definition at line 2420 of file file.c.
Referenced by append_file_test(), create_temp_file(), GetTempPath2A(), START_TEST(), test_CopyFileA(), test_CopyFileEx(), test_CreateFile(), test_CreateFileA(), test_DeleteFileA(), test_fgetwc_locale(), test_fgetwc_unicode(), test_file_access(), test_file_disposition_information(), test_filemodeT(), test_FindFirstFileA(), test_flush_buffers_file(), test_fopen_hints(), test_fputwc(), test_GetFileInformationByHandleEx(), test_GetFinalPathNameByHandleA(), test_MoveFileA(), test_offset_in_overlapped_structure(), test_open_hints(), test_OpenFileById(), test_read_write(), test_ReplaceFileA(), test_SetFileInformationByHandle(), test_SetFileValidData(), and test_WriteFileGather().
DWORD WINAPI DECLSPEC_HOTPATCH GetTempPathW | ( | DWORD | count, |
LPWSTR | path | ||
) |
Definition at line 2438 of file file.c.
Referenced by delete_file_test(), GetTempPath2W(), GetTempPathA(), open_file_test(), processFile(), test_CopyFile2(), test_CopyFileW(), test_CreateFile2(), test_CreateFileW(), test_DeleteFileW(), test_file_link_information(), test_file_rename_information(), test_GetFinalPathNameByHandleW(), test_MoveFileW(), test_NtCreateFile(), test_readonly(), and test_ReplaceFileW().
UINT WINAPI DECLSPEC_HOTPATCH GetWindowsDirectoryA | ( | LPSTR | path, |
UINT | count | ||
) |
Definition at line 2513 of file file.c.
Referenced by get_windows_drive(), GetSystemWindowsDirectoryA(), test_async_file_errors(), test_CreateFileA(), test_FindFirstFileA(), test_GetTempFileNameA(), and test_OpenFile().
UINT WINAPI DECLSPEC_HOTPATCH GetWindowsDirectoryW | ( | LPWSTR | path, |
UINT | count | ||
) |
Definition at line 2522 of file file.c.
Referenced by create_file_test(), GetSystemWindowsDirectoryW(), GetTempPathW(), open_file_test(), test_query_attribute_information_file(), and test_query_volume_information_file().
|
static |
Definition at line 3440 of file file.c.
Referenced by ReadDirectoryChangesW().
Definition at line 469 of file file.c.
Referenced by copy_file().
Definition at line 2971 of file file.c.
Definition at line 4116 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH LockFile | ( | HANDLE | file, |
DWORD | offset_low, | ||
DWORD | offset_high, | ||
DWORD | count_low, | ||
DWORD | count_high | ||
) |
Definition at line 3306 of file file.c.
Referenced by _locking(), and test_LockFile().
BOOL WINAPI DECLSPEC_HOTPATCH LockFileEx | ( | HANDLE | file, |
DWORD | flags, | ||
DWORD | reserved, | ||
DWORD | count_low, | ||
DWORD | count_high, | ||
LPOVERLAPPED | overlapped | ||
) |
Definition at line 3324 of file file.c.
Referenced by test_LockFile().
Definition at line 2531 of file file.c.
Referenced by _wrename(), and ReplaceFileW().
BOOL WINAPI DECLSPEC_HOTPATCH MoveFileWithProgressW | ( | const WCHAR * | source, |
const WCHAR * | dest, | ||
LPPROGRESS_ROUTINE | progress, | ||
void * | param, | ||
DWORD | flag | ||
) |
Definition at line 2540 of file file.c.
Referenced by MoveFileExW().
BOOL WINAPI DECLSPEC_HOTPATCH NeedCurrentDirectoryForExePathA | ( | LPCSTR | name | ) |
Definition at line 2619 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH NeedCurrentDirectoryForExePathW | ( | LPCWSTR | name | ) |
Definition at line 2631 of file file.c.
Referenced by NeedCurrentDirectoryForExePathA().
HANDLE WINAPI DECLSPEC_HOTPATCH OpenFileById | ( | HANDLE | handle, |
LPFILE_ID_DESCRIPTOR | id, | ||
DWORD | access, | ||
DWORD | share, | ||
LPSECURITY_ATTRIBUTES | sec_attr, | ||
DWORD | flags | ||
) |
Definition at line 3356 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH PurgeComm | ( | HANDLE | handle, |
DWORD | flags | ||
) |
|
static |
BOOL WINAPI DECLSPEC_HOTPATCH ReadDirectoryChangesW | ( | HANDLE | handle, |
LPVOID | buffer, | ||
DWORD | len, | ||
BOOL | subtree, | ||
DWORD | filter, | ||
LPDWORD | returned, | ||
LPOVERLAPPED | overlapped, | ||
LPOVERLAPPED_COMPLETION_ROUTINE | completion | ||
) |
Definition at line 3449 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH ReadFile | ( | HANDLE | file, |
LPVOID | buffer, | ||
DWORD | count, | ||
LPDWORD | result, | ||
LPOVERLAPPED | overlapped | ||
) |
Definition at line 3496 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH ReadFileEx | ( | HANDLE | file, |
LPVOID | buffer, | ||
DWORD | count, | ||
LPOVERLAPPED | overlapped, | ||
LPOVERLAPPED_COMPLETION_ROUTINE | completion | ||
) |
Definition at line 3553 of file file.c.
Referenced by test_async_file_errors().
BOOL WINAPI DECLSPEC_HOTPATCH ReadFileScatter | ( | HANDLE | file, |
FILE_SEGMENT_ELEMENT * | segments, | ||
DWORD | count, | ||
LPDWORD | reserved, | ||
LPOVERLAPPED | overlapped | ||
) |
Definition at line 3583 of file file.c.
Referenced by test_WriteFileGather().
BOOL WINAPI DECLSPEC_HOTPATCH RemoveDirectoryA | ( | LPCSTR | path | ) |
Definition at line 3607 of file file.c.
Referenced by test_CreateFileA(), test_DeleteFileA(), test_file_disposition_information(), test_FindFirstFile_wildcards(), test_FindFirstFileA(), test_FindFirstFileExA(), test_MoveFileA(), and test_RemoveDirectory().
BOOL WINAPI DECLSPEC_HOTPATCH RemoveDirectoryW | ( | LPCWSTR | path | ) |
Definition at line 3619 of file file.c.
Referenced by delete_file_test(), delete_object(), RemoveDirectoryA(), test_CreateFile2(), test_CreateFileW(), test_DeleteFileW(), and test_junction_points().
HANDLE WINAPI DECLSPEC_HOTPATCH ReOpenFile | ( | HANDLE | handle, |
DWORD | access, | ||
DWORD | sharing, | ||
DWORD | attributes | ||
) |
Definition at line 3402 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH ReplaceFileW | ( | const WCHAR * | replaced, |
const WCHAR * | replacement, | ||
const WCHAR * | backup, | ||
DWORD | flags, | ||
void * | exclude, | ||
void * | reserved | ||
) |
Definition at line 2644 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH SearchPathA | ( | LPCSTR | path, |
LPCSTR | name, | ||
LPCSTR | ext, | ||
DWORD | buflen, | ||
LPSTR | buffer, | ||
LPSTR * | lastpart | ||
) |
Definition at line 2749 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH SearchPathW | ( | LPCWSTR | path, |
LPCWSTR | name, | ||
LPCWSTR | ext, | ||
DWORD | buflen, | ||
LPWSTR | buffer, | ||
LPWSTR * | lastpart | ||
) |
Definition at line 2790 of file file.c.
Referenced by SearchPathA().
BOOL WINAPI DECLSPEC_HOTPATCH SetCommBreak | ( | HANDLE | handle | ) |
BOOL WINAPI DECLSPEC_HOTPATCH SetCommConfig | ( | HANDLE | handle, |
COMMCONFIG * | config, | ||
DWORD | size | ||
) |
Definition at line 4463 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH SetCommMask | ( | HANDLE | handle, |
DWORD | mask | ||
) |
BOOL WINAPI DECLSPEC_HOTPATCH SetCommState | ( | HANDLE | handle, |
DCB * | dcb | ||
) |
Definition at line 4483 of file file.c.
Referenced by SetCommConfig().
BOOL WINAPI DECLSPEC_HOTPATCH SetCommTimeouts | ( | HANDLE | handle, |
COMMTIMEOUTS * | timeouts | ||
) |
BOOL WINAPI DECLSPEC_HOTPATCH SetCurrentDirectoryA | ( | LPCSTR | dir | ) |
Definition at line 2862 of file file.c.
Referenced by test_CreateFileA(), test_FindFirstFile_wildcards(), and test_RemoveDirectory().
BOOL WINAPI DECLSPEC_HOTPATCH SetCurrentDirectoryW | ( | LPCWSTR | dir | ) |
Definition at line 2876 of file file.c.
Referenced by test_CreateFileA().
BOOL WINAPI DECLSPEC_HOTPATCH SetEndOfFile | ( | HANDLE | file | ) |
Definition at line 3651 of file file.c.
Referenced by _chsize_s(), test_read_write(), and test_SetFileValidData().
void WINAPI DECLSPEC_HOTPATCH SetFileApisToANSI | ( | void | ) |
void WINAPI DECLSPEC_HOTPATCH SetFileApisToOEM | ( | void | ) |
BOOL WINAPI DECLSPEC_HOTPATCH SetFileAttributesA | ( | LPCSTR | name, |
DWORD | attributes | ||
) |
Definition at line 2906 of file file.c.
Referenced by _chmod(), test__creat(), test__hread(), test__lcreat(), test_file_disposition_information(), test_Mapfile_createtemp(), and test_ReplaceFileA().
BOOL WINAPI DECLSPEC_HOTPATCH SetFileAttributesW | ( | LPCWSTR | name, |
DWORD | attributes | ||
) |
Definition at line 2918 of file file.c.
Referenced by _wchmod(), SetFileAttributesA(), test_NtCreateFile(), test_readonly(), and test_ReplaceFileW().
BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle | ( | HANDLE | file, |
FILE_INFO_BY_HANDLE_CLASS | class, | ||
void * | info, | ||
DWORD | size | ||
) |
Definition at line 3670 of file file.c.
DWORD WINAPI DECLSPEC_HOTPATCH SetFilePointer | ( | HANDLE | file, |
LONG | distance, | ||
LONG * | highword, | ||
DWORD | method | ||
) |
Definition at line 3748 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH SetFilePointerEx | ( | HANDLE | file, |
LARGE_INTEGER | distance, | ||
LARGE_INTEGER * | newpos, | ||
DWORD | method | ||
) |
Definition at line 3770 of file file.c.
Referenced by SetFilePointer().
BOOL WINAPI DECLSPEC_HOTPATCH SetFileTime | ( | HANDLE | file, |
const FILETIME * | ctime, | ||
const FILETIME * | atime, | ||
const FILETIME * | mtime | ||
) |
Definition at line 3819 of file file.c.
Referenced by test_CopyFile2(), test_CopyFileA(), test_CreateFile(), and test_ReplaceFileA().
BOOL WINAPI DECLSPEC_HOTPATCH SetFileValidData | ( | HANDLE | file, |
LONGLONG | length | ||
) |
BOOL WINAPI DECLSPEC_HOTPATCH SetLocalTime | ( | const SYSTEMTIME * | systime | ) |
Definition at line 4125 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH SetSystemTime | ( | const SYSTEMTIME * | systime | ) |
BOOL WINAPI DECLSPEC_HOTPATCH SetSystemTimeAdjustment | ( | DWORD | adjust, |
BOOL | disabled | ||
) |
Definition at line 4151 of file file.c.
Definition at line 4568 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH SystemTimeToFileTime | ( | const SYSTEMTIME * | systime, |
FILETIME * | ft | ||
) |
Definition at line 4164 of file file.c.
Referenced by SetLocalTime(), and SetSystemTime().
BOOL WINAPI DECLSPEC_HOTPATCH TransmitCommChar | ( | HANDLE | handle, |
CHAR | ch | ||
) |
Definition at line 4581 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH UnlockFile | ( | HANDLE | file, |
DWORD | offset_low, | ||
DWORD | offset_high, | ||
DWORD | count_low, | ||
DWORD | count_high | ||
) |
Definition at line 3863 of file file.c.
Referenced by _locking(), test_LockFile(), and UnlockFileEx().
BOOL WINAPI DECLSPEC_HOTPATCH UnlockFileEx | ( | HANDLE | file, |
DWORD | reserved, | ||
DWORD | count_low, | ||
DWORD | count_high, | ||
LPOVERLAPPED | overlapped | ||
) |
Definition at line 3879 of file file.c.
Referenced by test_LockFile().
BOOL WINAPI DECLSPEC_HOTPATCH WaitCommEvent | ( | HANDLE | handle, |
DWORD * | events, | ||
OVERLAPPED * | overlapped | ||
) |
WINE_DEFAULT_DEBUG_CHANNEL | ( | file | ) |
BOOL WINAPI DECLSPEC_HOTPATCH Wow64DisableWow64FsRedirection | ( | PVOID * | old_value | ) |
Definition at line 2960 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH Wow64RevertWow64FsRedirection | ( | PVOID | old_value | ) |
BOOL WINAPI DECLSPEC_HOTPATCH WriteFile | ( | HANDLE | file, |
LPCVOID | buffer, | ||
DWORD | count, | ||
LPDWORD | result, | ||
LPOVERLAPPED | overlapped | ||
) |
Definition at line 3896 of file file.c.
Referenced by _write(), _wsopen_s(), copy_file(), create_fake_dll(), open_file_test(), test_CopyFile2(), test_CopyFileA(), test_CreateFile(), test_file_access(), test_file_completion_information(), test_get_osfhandle(), test_GetFileInformationByHandleEx(), test_iocp_fileio(), test_LockFile(), test_MoveFileA(), test_offset_in_overlapped_structure(), test_OpenFileById(), test_read_write(), test_ReplaceFileA(), test_SetFileValidData(), and transfer_file_http().
BOOL WINAPI DECLSPEC_HOTPATCH WriteFileEx | ( | HANDLE | file, |
LPCVOID | buffer, | ||
DWORD | count, | ||
LPOVERLAPPED | overlapped, | ||
LPOVERLAPPED_COMPLETION_ROUTINE | completion | ||
) |
Definition at line 3943 of file file.c.
BOOL WINAPI DECLSPEC_HOTPATCH WriteFileGather | ( | HANDLE | file, |
FILE_SEGMENT_ELEMENT * | segments, | ||
DWORD | count, | ||
LPDWORD | reserved, | ||
LPOVERLAPPED | overlapped | ||
) |
Definition at line 3974 of file file.c.
Referenced by test_WriteFileGather().
|
static |
Definition at line 1062 of file file.c.
Referenced by FindFirstChangeNotificationW(), and FindNextChangeNotification().
|
static |
Definition at line 65 of file file.c.
Referenced by FindFirstFileExW().
|
static |
Definition at line 70 of file file.c.
Referenced by AreFileApisANSI(), copy_filename_WtoA(), file_name_AtoW(), file_name_WtoA(), SetFileApisToANSI(), and SetFileApisToOEM().
Definition at line 68 of file file.c.
Referenced by alloc_console(), CLRRuntimeInfo_GetRuntimeDirectory(), create_pseudo_console(), get_machine_wow64_dir(), GetDynamicTimeZoneInformation(), GetSystemDirectoryA(), GetSystemDirectoryW(), GetTimeZoneInformationForYear(), VerFindFileW(), and VfdInstallDriver().
Definition at line 67 of file file.c.
Referenced by GetWindowsDirectoryA(), GetWindowsDirectoryW(), lookup_winsxs(), test_GetNamedSecurityInfoA(), and VerFindFileW().