/reactos/dll/win32/kernel32/client/file/ |
H A D | delete.c | 87 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in DeleteFileW() 111 FILE_SHARE_WRITE, in DeleteFileW() 125 FILE_SHARE_WRITE | in DeleteFileW() 165 FILE_SHARE_WRITE, in DeleteFileW() 196 FILE_SHARE_WRITE, in DeleteFileW()
|
H A D | lfile.c | 95 case OF_SHARE_DENY_READ: dwSharing = FILE_SHARE_WRITE; break; in _lopen() 98 default: dwSharing = FILE_SHARE_READ | FILE_SHARE_WRITE; break; in _lopen() 123 (FILE_SHARE_READ | FILE_SHARE_WRITE), in _lcreat()
|
H A D | dir.c | 164 FILE_SHARE_READ | FILE_SHARE_WRITE, in CreateDirectoryW() 247 FILE_SHARE_READ | FILE_SHARE_WRITE, in CreateDirectoryExW() 265 FILE_SHARE_READ | FILE_SHARE_WRITE, in CreateDirectoryExW() 487 FILE_SHARE_READ | FILE_SHARE_WRITE, in CreateDirectoryExW() 509 FILE_SHARE_READ | FILE_SHARE_WRITE, in CreateDirectoryExW() 779 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in RemoveDirectoryW() 795 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in RemoveDirectoryW() 843 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in RemoveDirectoryW() 863 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in RemoveDirectoryW()
|
H A D | move.c | 471 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in BasepNotifyTrackingService() 511 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in BasepNotifyTrackingService() 596 IntShareAccess = ShareAccess | FILE_SHARE_READ | FILE_SHARE_WRITE; in BasepOpenFileForMove() 639 IntShareAccess = ShareAccess | FILE_SHARE_READ | FILE_SHARE_WRITE; in BasepOpenFileForMove() 779 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in MoveFileWithProgressW() 840 FILE_SHARE_READ | FILE_SHARE_WRITE, in MoveFileWithProgressW() 1287 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in ReplaceFileW() 1430 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in PrivMoveFileIdentityW() 1483 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in PrivMoveFileIdentityW()
|
H A D | disk.c | 206 FILE_SHARE_READ | FILE_SHARE_WRITE, in GetDiskFreeSpaceW() 374 FILE_SHARE_READ | FILE_SHARE_WRITE, in GetDiskFreeSpaceExW() 620 FILE_SHARE_READ | FILE_SHARE_WRITE, in GetDriveTypeW() 663 FILE_SHARE_READ | FILE_SHARE_WRITE, in GetDriveTypeW()
|
H A D | create.c | 122 FILE_SHARE_READ | FILE_SHARE_WRITE); in CreateFileW() 444 case OF_SHARE_DENY_READ: Sharing = FILE_SHARE_WRITE; break; in OpenFile() 448 Sharing = FILE_SHARE_READ | FILE_SHARE_WRITE; in OpenFile()
|
/reactos/modules/rostests/kmtests/ntos_io/ |
H A D | IoCreateFile.c | 52 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 92 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 143 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 162 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 229 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 272 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 291 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 357 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 383 FILE_SHARE_READ | FILE_SHARE_WRITE, in KernelModeTest() 809 FILE_SHARE_READ | FILE_SHARE_WRITE, in UserModeTest() [all …]
|
H A D | IoFilesystem.c | 97 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestAllInformation() 448 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestRelativeNames() 477 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestRelativeNames() 489 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestRelativeNames() 505 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestRelativeNames() 521 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestRelativeNames() 540 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestRelativeNames() 642 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestSharedCacheMap() 659 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in TestSharedCacheMap()
|
/reactos/dll/win32/mspatcha/ |
H A D | mspatcha_main.c | 235 hPatch = CreateFileA(patch_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in ApplyPatchToFileA() 239 hOld = CreateFileA(old_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in ApplyPatchToFileA() 450 hPatch = CreateFileW(patch_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in ApplyPatchToFileW() 454 hOld = CreateFileW(old_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in ApplyPatchToFileW() 483 hFile = CreateFileA(filename, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in GetFilePatchSignatureA() 552 hFile = CreateFileW(filename, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in GetFilePatchSignatureW() 582 hPatch = CreateFileA(patch_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in TestApplyPatchToFileA() 586 hOld = CreateFileA(old_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in TestApplyPatchToFileA() 615 hPatch = CreateFileW(patch_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in TestApplyPatchToFileW() 619 hOld = CreateFileW(old_file, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in TestApplyPatchToFileW()
|
/reactos/base/shell/cmd/ |
H A D | ctty.c | 155 FILE_SHARE_READ | FILE_SHARE_WRITE, in cmd_ctty() 175 FILE_SHARE_READ | FILE_SHARE_WRITE, in cmd_ctty() 220 FILE_SHARE_READ | FILE_SHARE_WRITE, in cmd_ctty()
|
/reactos/modules/rostests/apitests/kernel32/ |
H A D | PrivMoveFileIdentityW.c | 30 FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in QueryFileInfo() 86 FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in TestPrivMoveFileIdentityW() 118 FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in TestPrivMoveFileIdentityW()
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | file.c | 1303 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 1371 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 1403 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 1419 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 1434 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 1467 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 1488 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 1506 FILE_SHARE_READ | FILE_SHARE_WRITE, in test_CreateFileA() 2317 !(sharing2 & FILE_SHARE_WRITE)) return FALSE; in is_sharing_map_compatible() 2337 M(FILE_SHARE_WRITE), M(FILE_SHARE_READ|FILE_SHARE_WRITE), in test_file_sharing() [all …]
|
/reactos/modules/rostests/drivers/tcpip/ |
H A D | InterfaceInfo.c | 29 FILE_SHARE_READ | FILE_SHARE_WRITE, in START_TEST() 59 FILE_SHARE_READ | FILE_SHARE_WRITE, in START_TEST()
|
/reactos/dll/shellext/shellbtrfs/ |
H A D | scrub.cpp | 61 …h = CreateFileW(fn.c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,… in UpdateTextBox() 271 …win_handle h = CreateFileW(fn.c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SH… in RefreshScrubDlg() 357 …win_handle h = CreateFileW(fn.c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SH… in StartScrub() 387 …win_handle h = CreateFileW(fn.c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SH… in PauseScrub() 411 …win_handle h = CreateFileW(fn.c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SH… in StopScrub() 541 …e h = CreateFileW(args[0].c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in StartScrubW() 577 …e h = CreateFileW(args[0].c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in StopScrubW()
|
H A D | send.cpp | 42 …CreateFileW(subvol.c_str(), FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in Thread() 59 …renth = CreateFileW(parent, FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in Thread() 72 …ateFileW(clones[i].c_str(), FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in Thread() 345 …win_handle h = CreateFileW(parent, FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in BrowseParent() 391 …win_handle h = CreateFileW(path, FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DE… in AddClone() 577 …dirh = CreateFileW(subvol.c_str(), FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE… in send_subvol() 593 …CreateFileW(parent.c_str(), FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in send_subvol() 606 …ateFileW(clones[i].c_str(), FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in send_subvol()
|
H A D | contextmenu.cpp | 118 …win_handle h = CreateFileW(fn, FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELE… in Initialize() 132 …eateFileW(parpath.c_str(), FILE_ADD_SUBDIRECTORY, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in Initialize() 166 … CreateFileW(path.c_str(), FILE_ADD_SUBDIRECTORY, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in Initialize() 457 …h = CreateFileW(fn.c_str(), FILE_TRAVERSE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,… in create_snapshot() 474 …eateFileW(parpath.c_str(), FILE_ADD_SUBDIRECTORY, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in create_snapshot() 589 …dirh = CreateFileW(dir, FILE_ADD_SUBDIRECTORY, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DEL… in reflink_copy() 640 …dirh = CreateFileW(dir, FILE_ADD_FILE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, nul… in reflink_copy() 664 …h.c_str(), GENERIC_READ | GENERIC_WRITE | DELETE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in reflink_copy() 1373 …dirh = CreateFileW(destdir.c_str(), FILE_ADD_FILE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE… in reflink_copy2() 1397 …).c_str(), GENERIC_READ | GENERIC_WRITE | DELETE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_… in reflink_copy2() [all …]
|
/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/ |
H A D | dosfiles.c | 243 ShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; in DosCreateFileEx() 258 ShareMode = FILE_SHARE_WRITE; in DosCreateFileEx() 263 ShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE; in DosCreateFileEx() 466 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in DosCreateFile() 579 ShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; in DosOpenFile() 594 ShareMode = FILE_SHARE_WRITE; in DosOpenFile() 599 ShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE; in DosOpenFile()
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | pipe.c | 230 …tic const DWORD sharing[] = { FILE_SHARE_READ, FILE_SHARE_WRITE, FILE_SHARE_READ | FILE_SHARE_W… in test_create() 266 should_succeed &= !!(sharing[j] & FILE_SHARE_WRITE); in test_create() 293 res = create_pipe(&hPipe, FILE_SHARE_READ | FILE_SHARE_WRITE, 0 /* OVERLAPPED */); in test_overlapped() 316 res = create_pipe(&hPipe, FILE_SHARE_READ | FILE_SHARE_WRITE, 0 /* OVERLAPPED */); in test_overlapped() 357 status = create_pipe(&pipe, FILE_SHARE_READ | FILE_SHARE_WRITE, 0 /* OVERLAPPED */); in test_completion() 455 res = create_pipe(&hPipe, FILE_SHARE_READ | FILE_SHARE_WRITE, FILE_SYNCHRONOUS_IO_ALERT); in test_alertable() 525 res = create_pipe(&hPipe, FILE_SHARE_READ | FILE_SHARE_WRITE, FILE_SYNCHRONOUS_IO_NONALERT); in test_nonalertable() 567 res = create_pipe(&hPipe, FILE_SHARE_READ | FILE_SHARE_WRITE, 0 /* OVERLAPPED */); in test_cancelio() 591 res = create_pipe(&hPipe, FILE_SHARE_READ | FILE_SHARE_WRITE, 0 /* OVERLAPPED */); in test_cancelio() 662 FILE_SHARE_READ | FILE_SHARE_WRITE, 2 /* FILE_CREATE */, in test_filepipeinfo() [all …]
|
H A D | om.c | 177 h = CreateFileA("\\\\.\\pipe\\test\\pipe", GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, in test_namespace_pipe() 184 status = pNtOpenFile(&h, GENERIC_READ, &attr, &iosb, FILE_SHARE_READ|FILE_SHARE_WRITE, 0); in test_namespace_pipe() 193 status = pNtOpenFile(&h, GENERIC_READ, &attr, &iosb, FILE_SHARE_READ|FILE_SHARE_WRITE, 0); in test_namespace_pipe() 199 status = pNtOpenFile(&h, GENERIC_READ, &attr, &iosb, FILE_SHARE_READ|FILE_SHARE_WRITE, 0); in test_namespace_pipe() 204 status = pNtOpenFile(&h, GENERIC_READ, &attr, &iosb, FILE_SHARE_READ|FILE_SHARE_WRITE, 0); in test_namespace_pipe() 715 … status = pNtCreateNamedPipeFile( &ret, GENERIC_ALL, NULL, &iosb, FILE_SHARE_READ|FILE_SHARE_WRITE, in test_name_limits() 1278 status = pNtOpenFile(&h, GENERIC_READ, &attr, &iosb, FILE_SHARE_READ|FILE_SHARE_WRITE, 0); in test_symboliclink() 1383 … handle = CreateFileA( dir, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, in test_query_object() 1914 FILE_SHARE_READ | FILE_SHARE_WRITE, 0); in test_null_device() 1965 FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in test_null_device() [all …]
|
/reactos/drivers/multimedia/audio/sndblst.old/test/ |
H A D | sb.c | 17 FILE_SHARE_READ | FILE_SHARE_WRITE, in main()
|
/reactos/sdk/lib/rtl/ |
H A D | sysvol.c | 468 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in RtlpSysVolTakeOwnership() 628 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in RtlCreateSystemVolumeInformationFolder() 647 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, in RtlCreateSystemVolumeInformationFolder()
|
/reactos/dll/win32/fmifs/ |
H A D | compress.c | 27 FILE_SHARE_READ | FILE_SHARE_WRITE, in EnableVolumeCompression()
|
/reactos/modules/rostests/kmtests/npfs/ |
H A D | NpfsHelpers.c | 101 ShareAccess = FILE_SHARE_WRITE; in NpCreatePipe() 105 ShareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE; in NpCreatePipe() 188 ShareAccess = FILE_SHARE_WRITE; in NpOpenPipe() 192 ShareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE; in NpOpenPipe() 276 FILE_SHARE_READ | FILE_SHARE_WRITE, in NpWaitPipe()
|
/reactos/drivers/multimedia/audio/mpu401_nt4/ |
H A D | test.c | 21 FILE_SHARE_READ | FILE_SHARE_WRITE, in main()
|
/reactos/drivers/multimedia/audio/sndblst.old/ |
H A D | test.c | 21 FILE_SHARE_READ | FILE_SHARE_WRITE, in main()
|