base/services/eventlog/file.c |
193 Status = NtReadFile(pLogFile->FileHandle,
|
base/setup/lib/bootcode.c |
44 Status = NtReadFile(FileHandle,
|
base/setup/lib/utils/inicache.c |
589 Status = NtReadFile(FileHandle,
604 DPRINT("NtReadFile() failed (Status %lx)\n", Status);
|
base/setup/lib/utils/partlist.c |
1398 Status = NtReadFile(FileHandle,
1410 DPRINT1("NtReadFile failed, status=%x\n", Status);
|
base/setup/usetup/cmdcons.c |
450 Status = NtReadFile(hDisk,
461 DPRINT1("NtReadFile failed (Status 0x%08lx)\n", Status);
|
base/setup/usetup/console.c |
240 Status = NtReadFile(hConsoleInput,
282 Status = NtReadFile(hConsoleInput,
357 Status = NtReadFile(hConsoleInput,
|
base/system/autochk/autochk.c |
166 Status = NtReadFile(KeyboardHandle,
|
base/system/diskpart/dump.c |
118 Status = NtReadFile(FileHandle,
129 DPRINT1("NtReadFile failed, status=%x\n", Status);
224 Status = NtReadFile(FileHandle,
235 DPRINT1("NtReadFile failed, status=%x\n", Status);
|
base/system/diskpart/partlist.c |
830 Status = NtReadFile(FileHandle,
842 DPRINT1("NtReadFile failed, status=%x\n", Status);
|
dll/appcompat/apphelp/sdbapi.c |
291 Status = NtReadFile(pdb->file, NULL, NULL, NULL, &io, pdb->data, pdb->size, NULL, NULL);
|
dll/ntdll/def/ntdll.spec |
469 @ stdcall NtReadFile(long long ptr ptr ptr ptr long ptr ptr)
470 @ stdcall NtReadFileScatter(long long ptr ptr ptr ptr long ptr ptr)
|
dll/shellext/shellbtrfs/devices.cpp |
274 Status = NtReadFile(file, nullptr, nullptr, nullptr, &iosb, sb, sizeof(sb), &off, nullptr);
|
dll/shellext/shellbtrfs/shellext.h |
107 NTSTATUS NTAPI NtReadFile(HANDLE FileHandle, HANDLE Event, PIO_APC_ROUTINE ApcRoutine, PVOID ApcContext, PIO_STATUS_BLOCK IoStatusBlock, PVOID Buffer,
|
dll/win32/kernel32/client/file/copy.c |
95 errCode = NtReadFile(FileHandleSource,
|
dll/win32/kernel32/client/file/move.c |
1339 Status = NtReadFile(hReplacement, NULL, NULL, NULL, &IoStatusBlock, Buffer, 0x10000, NULL, NULL) ;
|
dll/win32/kernel32/client/file/rw.c |
167 Status = NtReadFile(hFile,
194 Status = NtReadFile(hFile,
312 Status = NtReadFile(hFile,
355 Status = NtReadFileScatter(hFile,
|
dll/win32/rpcrt4/rpc_transport.c |
702 status = NtReadFile(connection->pipe, event, NULL, NULL, &connection->io_status, buffer, count, NULL, NULL);
|
drivers/filesystems/cdfs/read.c |
79 This is the common entry point for NtReadFile calls. For synchronous requests,
|
drivers/filesystems/fastfat/read.c |
129 This is the driver entry to the common read routine for NtReadFile calls.
533 This is the common read routine for NtReadFile, called from both
|
drivers/filesystems/udfs/Include/env_spec_nt.cpp |
462 Status = NtReadFile(
|
drivers/filesystems/udfs/Include/nt_native.h |
1833 NtReadFile(
|
modules/rostests/apitests/ntdll/CMakeLists.txt |
49 NtReadFile.c
|
modules/rostests/apitests/ntdll/NtReadFile.c |
4 * PURPOSE: Test for NtReadFile
41 START_TEST(NtReadFile)
45 UNICODE_STRING FileName = RTL_CONSTANT_STRING(L"\\SystemRoot\\ntdll-apitest-NtReadFile-test.bin");
107 Status = NtReadFile(FileHandle,
119 Status = NtReadFile(FileHandle,
132 Status = NtReadFile(FileHandle,
144 Status = NtReadFile(FileHandle,
192 Status = NtReadFile(FileHandle,
203 Status = NtReadFile(FileHandle,
214 Status = NtReadFile(FileHandle,
|
modules/rostests/apitests/ntdll/testlist.c |
45 extern void func_NtReadFile(void);
148 { "NtReadFile", func_NtReadFile },
|
modules/rostests/apitests/ws2_32/recv.c |
84 /* Create an event for NtReadFile */
99 status = NtReadFile((HANDLE)sck,
|
modules/rostests/kmtests/ntos_cc/CcCopyRead_user.c |
35 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 3, &ByteOffset, NULL);
40 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 514, &ByteOffset, NULL);
46 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 2, &ByteOffset, NULL);
58 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 3, &ByteOffset, NULL);
63 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 514, &ByteOffset, NULL);
69 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 10, &ByteOffset, NULL);
74 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 10, &ByteOffset, NULL);
79 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 2, &ByteOffset, NULL);
91 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 61, &ByteOffset, NULL);
102 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 1024, &ByteOffset, NULL);
113 Status = NtReadFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 1024, &ByteOffset, NULL);
|
modules/rostests/kmtests/ntos_io/IoReadWrite_user.c |
40 Status = NtReadFile(FileHandle,
72 Status = NtReadFile(FileHandle,
93 Status = NtReadFile(FileHandle,
126 Status = NtReadFile(FileHandle,
|
modules/rostests/tests/isotest/isotest.c |
111 Status = NtReadFile(FileHandle,
|
modules/rostests/tests/lantst/lantest.cpp |
193 Status = NtReadFile( LanFile,
202 cout << "NtReadFile: " << Status << "\n";
|
modules/rostests/tests/parttest/parttest.c |
243 Status = NtReadFile(FileHandle,
304 Status = NtReadFile(FileHandle,
|
modules/rostests/winetests/kernel32/comm.c |
54 static NTSTATUS (WINAPI *pNtReadFile)(HANDLE hFile, HANDLE hEvent,
2033 if (!pNtReadFile || !pNtWriteFile)
2155 status = pNtReadFile(hcom, 0, NULL, NULL, &iob, buf, 0, NULL, NULL);
2165 status = pNtReadFile(hcom, 0, NULL, NULL, &iob, buf, 0, &offset, NULL);
2183 status = pNtReadFile(hcom, 0, NULL, NULL, &iob, buf, 1, &offset, NULL);
2206 pNtReadFile = (void *)GetProcAddress(ntdll, "NtReadFile");
|
modules/rostests/winetests/ntdll/file.c |
88 static NTSTATUS (WINAPI *pNtReadFile)(HANDLE hFile, HANDLE hEvent,
222 status = pNtReadFile( dir, NULL, NULL, NULL, &io, buf, sizeof(buf), &offset, NULL );
223 ok( status == STATUS_INVALID_DEVICE_REQUEST || status == STATUS_PENDING, "NtReadFile error %08x\n", status );
697 status = pNtReadFile( handle, event, apc, &apc_count, &iosb, buffer, strlen(text) + 10, &offset, NULL );
714 status = pNtReadFile( handle, event, apc, &apc_count, &iosb, buffer, 2, &offset, NULL );
752 status = pNtReadFile( handle, event, apc, &apc_count, &iosb, buffer, strlen(text) + 10, &offset, NULL );
767 status = pNtReadFile( handle, event, apc, &apc_count, &iosb, buffer, 2, &offset, NULL );
842 status = pNtReadFile(handle, 0, NULL, NULL, &iosb, buf, sizeof(buf), &offset, NULL);
843 ok(status == STATUS_SUCCESS, "NtReadFile error %#x\n", status);
861 status = pNtReadFile(handle, 0, NULL, NULL, &iosb, buf, sizeof(buf), &offset, NULL);
862 ok(status == STATUS_SUCCESS, "NtReadFile error %#x\n", status);
1100 res = NtReadFile( hPipeSrv, NULL, apc, &apc_count, &iosb, recv_buf, sizeof(recv_buf), NULL, NULL );
1101 ok(res == STATUS_INVALID_PARAMETER, "NtReadFile returned %x\n", res);
1126 res = NtReadFile( hPipeSrv, NULL, apc, &apc_count, &iosb, recv_buf, sizeof(recv_buf), NULL, NULL );
1127 ok(res == STATUS_PENDING, "NtReadFile returned %x\n", res);
1148 res = NtReadFile( hPipeSrv, NULL, apc, &apc_count, &iosb, recv_buf, sizeof(recv_buf), NULL, NULL );
1149 ok(res == STATUS_INVALID_PARAMETER, "NtReadFile returned %x\n", res);
3642 status = pNtReadFile(INVALID_HANDLE_VALUE, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
3650 status = pNtReadFile(INVALID_HANDLE_VALUE, 0, NULL, NULL, &iob, NULL, sizeof(buf), &offset, NULL);
3692 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, NULL, sizeof(contents), NULL, NULL);
3700 status = pNtReadFile(hfile, event, NULL, NULL, &iob, NULL, sizeof(contents), NULL, NULL);
3709 status = pNtReadFile(hfile, event, NULL, NULL, &iob, (void*)0xdeadbeef, sizeof(contents), NULL, NULL);
3793 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), NULL, NULL);
3874 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), NULL, NULL);
3881 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, 0, NULL, NULL);
3882 ok(status == STATUS_SUCCESS, "NtReadFile error %#x\n", status);
3889 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
3897 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, 0, &offset, NULL);
3898 ok(status == STATUS_SUCCESS, "NtReadFile error %#x\n", status);
3905 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
3913 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, 0, &offset, NULL);
3914 ok(status == STATUS_SUCCESS, "NtReadFile error %#x\n", status);
3925 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
3946 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
3947 ok(status == STATUS_SUCCESS, "NtReadFile error %#x\n", status);
3969 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
3970 ok(status == STATUS_SUCCESS, "NtReadFile error %#x\n", status);
4084 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), NULL, NULL);
4094 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
4199 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
4220 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, 0, &offset, NULL);
4293 status = pNtReadFile(hfile, 0, NULL, NULL, &iob, buf, sizeof(buf), &offset, NULL);
4734 pNtReadFile = (void *)GetProcAddress(hntdll, "NtReadFile");
|
modules/rostests/winetests/ntdll/pipe.c |
880 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
906 status = NtReadFile( read, 0, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
935 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
953 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
972 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
988 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 2, NULL, NULL );
1010 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
1024 status = NtReadFile( read, (HANDLE)0xdeadbeef, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
1038 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 1, NULL, NULL );
1052 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 2, NULL, NULL );
1075 status = NtReadFile( handle, event, apc, &apc_count, &iosb, buffer, 2, NULL, NULL );
1095 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 2, NULL, NULL );
1128 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 2, NULL, NULL );
1148 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 2, NULL, NULL );
1154 status = NtReadFile( read, event, apc, &apc_count, &iosb, buffer, 2, NULL, NULL );
|
ntoskrnl/io/iomgr/iofunc.c |
2703 NtReadFile(IN HANDLE FileHandle,
3063 NtReadFileScatter(IN HANDLE FileHandle,
|
ntoskrnl/ntoskrnl.spec |
882 @ stdcall NtReadFile(ptr ptr ptr ptr ptr ptr long ptr ptr)
|
ntoskrnl/sysfuncs.lst |
192 NtReadFile 9
193 NtReadFileScatter 9
|
sdk/include/ndk/iofuncs.h |
450 NtReadFile(
465 NtReadFileScatter(
|
sdk/include/ndk/iotypes.h |
1050 // APC Callback for NtReadFile, NtWriteFile
|
sdk/include/reactos/wine/winternl.h |
2523 NTSYSAPI NTSTATUS WINAPI NtReadFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,PLARGE_INTEGER,PULONG);
2524 NTSYSAPI NTSTATUS WINAPI NtReadFileScatter(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,FILE_SEGMENT_ELEMENT*,ULONG,PLARGE_INTEGER,PULONG);
|
sdk/include/xdk/ntifs.template.h |
271 NtReadFile(
|
sdk/lib/fslib/btrfslib/btrfslib.c |
88 NTSTATUS NTAPI NtReadFile(HANDLE FileHandle, HANDLE Event, PIO_APC_ROUTINE ApcRoutine, PVOID ApcContext, PIO_STATUS_BLOCK IoStatusBlock, PVOID Buffer,
1224 Status = NtReadFile(h, NULL, NULL, NULL, &iosb, sb, sblen, &off, NULL);
|
sdk/lib/fslib/ext2lib/Disk.c |
984 Status = NtReadFile( Ext2Sys->MediaHandle,
1011 Status = NtReadFile( Ext2Sys->MediaHandle,
1108 Status = NtReadFile( Ext2Sys->MediaHandle,
|
sdk/lib/fslib/vfatlib/check/io.c |
73 Status = NtReadFile(FileHandle,
84 DPRINT1("NtReadFile() failed (Status %lx)\n", Status);
|
sdk/lib/inflib/infrosgen.c |
232 Status = NtReadFile(FileHandle,
250 DPRINT("NtReadFile() failed (Status %lx)\n", Status);
|