ReactOS  0.4.13-dev-52-g0efcfec
iofuncs.h
Go to the documentation of this file.
1 /*++ NDK Version: 0098
2 
3 Copyright (c) Alex Ionescu. All rights reserved.
4 
5 Header Name:
6 
7  iofuncs.h
8 
9 Abstract:
10 
11  Function definitions for the I/O Manager.
12 
13 Author:
14 
15  Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16 
17 --*/
18 
19 #ifndef _IOFUNCS_H
20 #define _IOFUNCS_H
21 
22 //
23 // Dependencies
24 //
25 #include <umtypes.h>
26 #include <iotypes.h>
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 //
33 // I/O Functions
34 //
35 #ifndef NTOS_MODE_USER
36 VOID
39  _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
40  _In_ PSTRING NtDeviceName,
41  _Out_ PUCHAR NtSystemPath,
42  _Out_ PSTRING NtSystemPathString
43 );
44 
46 NTAPI
50 );
51 
53 NTAPI
55  _In_opt_ PUNICODE_STRING DriverName,
56  _In_ PDRIVER_INITIALIZE InitializationFunction
57 );
58 
60 NTAPI
63  _In_ PCM_RESOURCE_LIST RawResourceList,
64  _In_ PCM_RESOURCE_LIST TranslatedResourceList,
65  _In_ ULONG ResourceListSize
66 );
67 #endif
68 
69 //
70 // Native calls
71 //
74 NTAPI
76  _In_ PBOOT_ENTRY BootEntry,
77  _In_ ULONG Id
78 );
79 
82 NTAPI
84  _In_ PEFI_DRIVER_ENTRY BootEntry,
85  _In_ ULONG Id
86 );
87 
90 NTAPI
94 );
95 
99 NTAPI
112 );
113 
115 NTSTATUS
116 NTAPI
118  _Out_ PHANDLE IoCompletionHandle,
121  _In_ ULONG NumberOfConcurrentThreads
122 );
123 
125 NTSTATUS
126 NTAPI
128  _Out_ PHANDLE MailSlotFileHandle,
134  _In_ ULONG MaxMessageSize,
135  _In_ PLARGE_INTEGER TimeOut
136 );
137 
139 NTSTATUS
140 NTAPI
142  _Out_ PHANDLE NamedPipeFileHandle,
149  _In_ ULONG WriteModeMessage,
150  _In_ ULONG ReadModeMessage,
151  _In_ ULONG NonBlocking,
152  _In_ ULONG MaxInstances,
155  _In_ PLARGE_INTEGER DefaultTimeOut
156 );
157 
158 
160 NTSTATUS
161 NTAPI
163  _In_ ULONG Id
164 );
165 
167 NTSTATUS
168 NTAPI
170  _In_ ULONG Id
171 );
172 
174 NTSTATUS
175 NTAPI
178 );
179 
182 NTSTATUS
183 NTAPI
195 );
196 
198 NTSTATUS
199 NTAPI
201  _In_ PVOID Buffer,
203 );
204 
206 NTSTATUS
207 NTAPI
209  _In_ PVOID Buffer,
211 );
212 
214 NTSTATUS
215 NTAPI
219 );
220 
222 NTSTATUS
223 NTAPI
225 
228 NTSTATUS
229 NTAPI
241 );
242 
244 NTSTATUS
245 NTAPI
247  _In_ PUNICODE_STRING DriverServiceName
248 );
249 
251 NTSTATUS
252 NTAPI
253 NtLockFile(
261  _In_ ULONG Key,
262  _In_ BOOLEAN FailImmediatedly,
264 );
265 
267 NTSTATUS
268 NTAPI
270  _In_ PBOOT_ENTRY BootEntry
271 );
272 
274 NTSTATUS
275 NTAPI
278 );
279 
281 NTSTATUS
282 NTAPI
293 );
294 
296 NTSTATUS
297 NTAPI
298 NtOpenFile(
305 );
306 
308 NTSTATUS
309 NTAPI
311  _Out_ PHANDLE CompetionPort,
314 );
315 
317 NTSTATUS
318 NTAPI
322 );
323 
324 NTSTATUS
325 NTAPI
327  _In_ PULONG Ids,
329 );
330 
332 NTSTATUS
333 NTAPI
335  _In_ PULONG Ids,
337 );
338 
340 NTSTATUS
341 NTAPI
344  _In_ PULONG BootOptionsLength
345 );
346 
349 NTSTATUS
350 NTAPI
358  _In_ ULONG Length,
363 );
364 
366 NTSTATUS
367 NTAPI
372  _In_ ULONG Length,
374  _In_opt_ PVOID EaList,
378 );
379 
381 NTSTATUS
382 NTAPI
386 );
387 
390 NTSTATUS
391 NTAPI
396  _In_ ULONG Length,
398 );
399 
401 NTSTATUS
402 NTAPI
404  _In_ HANDLE IoCompletionHandle,
405  _In_ IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass,
406  _Out_ PVOID IoCompletionInformation,
407  _In_ ULONG IoCompletionInformationLength,
409 );
410 
413 NTSTATUS
414 NTAPI
419  _In_ ULONG Length,
423  _In_reads_bytes_opt_((8 + (4 * ((SID *)StartSid)->SubAuthorityCount))) // SeLengthSid()
424  PSID StartSid,
426 );
427 
430 NTSTATUS
431 NTAPI
435  _Out_writes_bytes_(Length) PVOID FsInformation,
436  _In_ ULONG Length,
438 );
439 
442 NTSTATUS
443 NTAPI
444 NtReadFile(
451  _In_ ULONG Length,
454 );
455 
457 NTSTATUS
458 NTAPI
462  _In_opt_ PIO_APC_ROUTINE UserApcRoutine,
463  _In_opt_ PVOID UserApcContext,
464  _Out_ PIO_STATUS_BLOCK UserIoStatusBlock,
465  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
469 );
470 
472 NTSTATUS
473 NTAPI
475  _In_ HANDLE IoCompletionHandle,
476  _Out_ PVOID *CompletionKey,
480 );
481 
483 NTSTATUS
484 NTAPI
486  _In_ PULONG Ids,
488 );
489 
491 NTSTATUS
492 NTAPI
495  _In_ ULONG FieldsToChange
496 );
497 
498 NTSTATUS
499 NTAPI
501  _In_ PULONG Ids,
503 );
504 
506 NTSTATUS
507 NTAPI
511  PVOID EaBuffer,
512  ULONG EaBufferSize
513 );
514 
517 NTSTATUS
518 NTAPI
523  _In_ ULONG Length,
525 );
526 
528 NTSTATUS
529 NTAPI
531  _In_ HANDLE IoCompletionPortHandle,
532  _In_ PVOID CompletionKey,
534  _In_ NTSTATUS CompletionStatus,
535  _In_ ULONG CompletionInformation
536 );
537 
539 NTSTATUS
540 NTAPI
544  PVOID Buffer,
546 );
547 
550 NTSTATUS
551 NTAPI
555  _In_reads_bytes_(Length) PVOID FsInformation,
556  _In_ ULONG Length,
558 );
559 
561 NTSTATUS
562 NTAPI
564  PFILE_PATH InputFilePath,
565  ULONG OutputType,
566  PFILE_PATH OutputFilePath,
567  ULONG OutputFilePathLength
568 );
569 
571 NTSTATUS
572 NTAPI
574  _In_ PUNICODE_STRING DriverServiceName
575 );
576 
579 NTSTATUS
580 NTAPI
586  _In_ ULONG Key
587 );
588 
591 NTSTATUS
592 NTAPI
600  _In_ ULONG Length,
603 );
604 
606 NTSTATUS
607 NTAPI
614  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
618 );
619 
620 NTSYSAPI
621 NTSTATUS
622 NTAPI
624  _In_ PUNICODE_STRING EntryName,
625  _In_ PUNICODE_STRING EntryValue
626 );
627 
628 NTSYSAPI
629 NTSTATUS
630 NTAPI
634 );
635 
637 NTSYSAPI
638 NTSTATUS
639 NTAPI
640 ZwCreateFile(
652 );
653 
654 NTSYSAPI
655 NTSTATUS
656 NTAPI
658  _Out_ PHANDLE IoCompletionHandle,
661  _In_ ULONG NumberOfConcurrentThreads
662 );
663 
664 NTSYSAPI
665 NTSTATUS
666 NTAPI
668  _Out_ PHANDLE MailSlotFileHandle,
674  _In_ ULONG MaxMessageSize,
675  _In_ PLARGE_INTEGER TimeOut
676 );
677 
678 NTSYSAPI
679 NTSTATUS
680 NTAPI
682  _Out_ PHANDLE NamedPipeFileHandle,
689  _In_ ULONG WriteModeMessage,
690  _In_ ULONG ReadModeMessage,
691  _In_ ULONG NonBlocking,
692  _In_ ULONG MaxInstances,
695  _In_ PLARGE_INTEGER DefaultTimeOut
696 );
697 
698 NTSYSAPI
699 NTSTATUS
700 NTAPI
702  _In_ PUNICODE_STRING EntryName,
703  _In_ PUNICODE_STRING EntryValue
704 );
705 
706 NTSYSAPI
707 NTSTATUS
708 NTAPI
711 );
712 
714 NTSYSAPI
715 NTSTATUS
716 NTAPI
728 );
729 
731 NTSYSAPI
732 NTSTATUS
733 NTAPI
737 );
738 
739 NTSYSAPI
740 NTSTATUS
741 NTAPI
743 
745 NTSYSAPI
746 NTSTATUS
747 NTAPI
759 );
760 
761 #ifdef NTOS_MODE_USER
762 NTSYSAPI
763 NTSTATUS
764 NTAPI
765 ZwLoadDriver(
766  _In_ PUNICODE_STRING DriverServiceName
767 );
768 #endif
769 
770 NTSYSAPI
771 NTSTATUS
772 NTAPI
773 ZwLockFile(
781  _In_ ULONG Key,
782  _In_ BOOLEAN FailImmediatedly,
784 );
785 
786 NTSYSAPI
787 NTSTATUS
788 NTAPI
799 );
800 
801 NTSYSAPI
802 NTSTATUS
803 NTAPI
804 ZwOpenFile(
811 );
812 
813 NTSYSAPI
814 NTSTATUS
815 NTAPI
817  _Out_ PHANDLE CompetionPort,
820 );
821 
822 NTSYSAPI
823 NTSTATUS
824 NTAPI
828 );
829 
831 NTSYSAPI
832 NTSTATUS
833 NTAPI
834 ZwQueryDirectoryFile(
846 );
847 
848 #ifdef NTOS_MODE_USER
849 NTSYSAPI
850 NTSTATUS
851 NTAPI
852 ZwQueryEaFile(
856  _In_ ULONG Length,
858  _In_opt_ PVOID EaList,
862 );
863 #endif
864 
865 NTSYSAPI
866 NTSTATUS
867 NTAPI
871 );
872 
874 NTSYSAPI
875 NTSTATUS
876 NTAPI
877 ZwQueryInformationFile(
881  _In_ ULONG Length,
883 );
884 
885 NTSYSAPI
886 NTSTATUS
887 NTAPI
889  _In_ HANDLE IoCompletionHandle,
890  _In_ IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass,
891  _Out_ PVOID IoCompletionInformation,
892  _In_ ULONG IoCompletionInformationLength,
894 );
895 
896 NTSYSAPI
897 NTSTATUS
898 NTAPI
903  _In_ ULONG Length,
905  _In_opt_ PVOID SidList,
909 );
910 
912 NTSYSAPI
913 NTSTATUS
914 NTAPI
918  _Out_writes_bytes_(Length) PVOID FsInformation,
921 );
922 
924 NTSYSAPI
925 NTSTATUS
926 NTAPI
927 ZwReadFile(
937 );
938 
939 NTSYSAPI
940 NTSTATUS
941 NTAPI
945  _In_opt_ PIO_APC_ROUTINE UserApcRoutine,
946  _In_opt_ PVOID UserApcContext,
947  _Out_ PIO_STATUS_BLOCK UserIoStatusBlock,
948  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
952 );
953 
954 NTSYSAPI
955 NTSTATUS
956 NTAPI
958  _In_ HANDLE IoCompletionHandle,
959  _Out_ PVOID *CompletionKey,
963 );
964 
965 #ifdef NTOS_MODE_USER
966 NTSYSAPI
967 NTSTATUS
968 NTAPI
969 ZwSetEaFile(
972  PVOID EaBuffer,
973  ULONG EaBufferSize
974 );
975 #endif
976 
978 NTSYSAPI
979 NTSTATUS
980 NTAPI
981 ZwSetInformationFile(
985  _In_ ULONG Length,
987 );
988 
989 NTSYSAPI
990 NTSTATUS
991 NTAPI
993  _In_ HANDLE IoCompletionPortHandle,
994  _In_ PVOID CompletionKey,
996  _In_ NTSTATUS CompletionStatus,
997  _In_ ULONG CompletionInformation
998 );
999 
1000 NTSYSAPI
1001 NTSTATUS
1002 NTAPI
1006  _In_ PVOID Buffer,
1008 );
1009 
1011 NTSYSAPI
1012 NTSTATUS
1013 NTAPI
1014 ZwSetVolumeInformationFile(
1017  _In_reads_bytes_(Length) PVOID FsInformation,
1018  _In_ ULONG Length,
1020 );
1021 
1022 NTSYSAPI
1023 NTSTATUS
1024 NTAPI
1026  _In_ PUNICODE_STRING DriverServiceName
1027 );
1028 
1029 NTSYSAPI
1030 NTSTATUS
1031 NTAPI
1032 ZwUnlockFile(
1038 );
1039 
1041 NTSYSAPI
1042 NTSTATUS
1043 NTAPI
1044 ZwWriteFile(
1051  _In_ ULONG Length,
1054 );
1055 
1056 NTSYSAPI
1057 NTSTATUS
1058 NTAPI
1065  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
1069 );
1070 
1071 #ifdef __cplusplus
1072 }
1073 #endif
1074 
1075 #endif
1076 
1077 
NTSYSCALLAPI NTSTATUS NTAPI NtModifyDriverEntry(_In_ PEFI_DRIVER_ENTRY DriverEntry)
NTSYSAPI NTSTATUS NTAPI ZwQueryQuotaInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_ PVOID Buffer, _In_ ULONG Length, _In_ BOOLEAN ReturnSingleEntry, _In_opt_ PVOID SidList, _In_ ULONG SidListLength, _In_opt_ PSID StartSid, _In_ BOOLEAN RestartScan)
IN CINT OUT PVOID IN ULONG OUT PULONG ResultLength
Definition: conport.c:47
NTSYSAPI NTSTATUS NTAPI ZwAddBootEntry(_In_ PUNICODE_STRING EntryName, _In_ PUNICODE_STRING EntryValue)
NTSYSAPI NTSTATUS NTAPI ZwQueryIoCompletion(_In_ HANDLE IoCompletionHandle, _In_ IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass, _Out_ PVOID IoCompletionInformation, _In_ ULONG IoCompletionInformationLength, _Out_opt_ PULONG ResultLength)
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID ApcContext
Definition: iofuncs.h:719
NTSYSAPI NTSTATUS NTAPI ZwCancelIoFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
NTSYSAPI NTSTATUS NTAPI ZwReadFileScatter(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE UserApcRoutine, _In_opt_ PVOID UserApcContext, _Out_ PIO_STATUS_BLOCK UserIoStatusBlock, _In_ FILE_SEGMENT_ELEMENT BufferDescription[], _In_ ULONG BufferLength, _In_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
NTSYSAPI NTSTATUS NTAPI ZwDeviceIoControlFile(IN HANDLE DeviceHandle, IN HANDLE Event OPTIONAL, IN PIO_APC_ROUTINE UserApcRoutine OPTIONAL, IN PVOID UserApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, IN ULONG IoControlCode, IN PVOID InputBuffer, IN ULONG InputBufferSize, OUT PVOID OutputBuffer, IN ULONG OutputBufferSize)
NTSYSAPI NTSTATUS NTAPI ZwRemoveIoCompletion(_In_ HANDLE IoCompletionHandle, _Out_ PVOID *CompletionKey, _Out_ PVOID *CompletionContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_opt_ PLARGE_INTEGER Timeout)
VOID(* PIO_APC_ROUTINE)(IN PVOID ApcContext, IN PIO_STATUS_BLOCK IoStatusBlock, IN ULONG Reserved)
Definition: nt_native.h:877
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtCreateFile(_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_opt_ PLARGE_INTEGER AllocationSize, _In_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions, _In_reads_bytes_opt_(EaLength) PVOID EaBuffer, _In_ ULONG EaLength)
Type
Definition: Type.h:6
NTSYSAPI NTSTATUS NTAPI ZwNotifyChangeDirectoryFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_ PVOID Buffer, _In_ ULONG BufferSize, _In_ ULONG CompletionFilter, _In_ BOOLEAN WatchTree)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG EaLength
Definition: iofuncs.h:652
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT _In_ NDIS_HANDLE _In_ NDIS_HANDLE _In_ PNDIS_STRING _In_ UINT OpenOptions
Definition: ndis.h:5995
NTSYSAPI NTSTATUS NTAPI ZwUnlockFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_opt_ ULONG Key)
NTSYSAPI NTSTATUS NTAPI ZwDeleteFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtEnumerateDriverEntries(_In_ PVOID Buffer, _In_ PULONG BufferLength)
NTSYSCALLAPI NTSTATUS NTAPI NtWriteFileGather(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ FILE_SEGMENT_ELEMENT BufferDescription[], _In_ ULONG BufferLength, _In_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
NTSYSAPI NTSTATUS NTAPI ZwFlushBuffersFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
NTSYSAPI NTSTATUS NTAPI ZwFlushWriteBuffer(VOID)
NTSTATUS NTAPI IoReportHalResourceUsage(_In_ PUNICODE_STRING HalName, _In_ PCM_RESOURCE_LIST RawResourceList, _In_ PCM_RESOURCE_LIST TranslatedResourceList, _In_ ULONG ResourceListSize)
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ ULONG _In_ BOOLEAN _In_ ULONG _In_opt_ PULONG EaIndex
Definition: fltkernel.h:2298
unsigned char * PUCHAR
Definition: retypes.h:3
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG SidListLength
Definition: zwfuncs.h:1120
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtDeviceIoControlFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG IoControlCode, _In_reads_bytes_opt_(InputBufferLength) PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer, _In_ ULONG OutputBufferLength)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG _In_opt_ PVOID EaBuffer
Definition: iofuncs.h:835
LONG NTSTATUS
Definition: precomp.h:26
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ ULONG InputBufferLength
Definition: iofuncs.h:725
NTSYSCALLAPI NTSTATUS NTAPI NtLockFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_ ULONG Key, _In_ BOOLEAN FailImmediatedly, _In_ BOOLEAN ExclusiveLock)
_In_ PIRP _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG OutBufferSize
Definition: classpnp.h:429
NTSTATUS NTAPI NtQueryDriverEntryOrder(_In_ PULONG Ids, _In_ PULONG Count)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateIoCompletion(_Out_ PHANDLE IoCompletionHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ ULONG NumberOfConcurrentThreads)
static OUT PIO_STATUS_BLOCK OUT PVOID FileInformation
Definition: pipe.c:75
_Inout_ PLIST_ENTRY _In_ PVOID _In_ PSTRING _In_ BOOLEAN WatchTree
Definition: fltkernel.h:2239
#define NTSYSCALLAPI
Definition: ntbasedef.h:204
NTSYSCALLAPI NTSTATUS NTAPI NtSetEaFile(_In_ HANDLE FileHandle, _In_ PIO_STATUS_BLOCK IoStatusBlock, PVOID EaBuffer, ULONG EaBufferSize)
#define FASTCALL
Definition: nt_native.h:50
#define NTSYSAPI
Definition: ntoskrnl.h:14
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryQuotaInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_ BOOLEAN ReturnSingleEntry, _In_reads_bytes_opt_(SidListLength) PVOID SidList, _In_ ULONG SidListLength, _In_reads_bytes_opt_((8+(4 *((SID *) StartSid) ->SubAuthorityCount))) PSID StartSid, _In_ BOOLEAN RestartScan)
NTSYSCALLAPI NTSTATUS NTAPI NtUnloadDriver(_In_ PUNICODE_STRING DriverServiceName)
_In_ ACCESS_MASK DesiredAccess
Definition: iofuncs.h:642
#define _In_opt_
Definition: no_sal2.h:213
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FILE_INFORMATION_CLASS _In_ BOOLEAN ReturnSingleEntry
Definition: iofuncs.h:841
DWORD Id
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ ULONG _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer
enum _IO_COMPLETION_INFORMATION_CLASS IO_COMPLETION_INFORMATION_CLASS
NTSYSAPI NTSTATUS NTAPI ZwCreateNamedPipeFile(_Out_ PHANDLE NamedPipeFileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions, _In_ ULONG WriteModeMessage, _In_ ULONG ReadModeMessage, _In_ ULONG NonBlocking, _In_ ULONG MaxInstances, _In_ ULONG InBufferSize, _In_ ULONG OutBufferSize, _In_ PLARGE_INTEGER DefaultTimeOut)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenIoCompletion(_Out_ PHANDLE CompetionPort, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
HANDLE FileHandle
Definition: stats.c:38
NTSYSAPI NTSTATUS NTAPI ZwLockFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_ ULONG Key, _In_ BOOLEAN FailImmediatedly, _In_ BOOLEAN ExclusiveLock)
NTSYSCALLAPI NTSTATUS NTAPI NtSetBootOptions(_In_ PBOOT_OPTIONS BootOptions, _In_ ULONG FieldsToChange)
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
NTSYSCALLAPI NTSTATUS NTAPI NtCreateNamedPipeFile(_Out_ PHANDLE NamedPipeFileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions, _In_ ULONG WriteModeMessage, _In_ ULONG ReadModeMessage, _In_ ULONG NonBlocking, _In_ ULONG MaxInstances, _In_ ULONG InBufferSize, _In_ ULONG OutBufferSize, _In_ PLARGE_INTEGER DefaultTimeOut)
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtReadFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_opt_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateMailslotFile(_Out_ PHANDLE MailSlotFileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG MaxMessageSize, _In_ PLARGE_INTEGER TimeOut)
NTSYSAPI NTSTATUS NTAPI ZwCreateMailslotFile(_Out_ PHANDLE MailSlotFileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG MaxMessageSize, _In_ PLARGE_INTEGER TimeOut)
_Out_ PIO_STATUS_BLOCK _In_reads_bytes_(Length) PVOID FileInformation
PWCHAR HalName
Definition: halacpi.c:45
_Unreferenced_parameter_ PVOID * CompletionContext
Definition: cdprocs.h:1130
NTSYSCALLAPI NTSTATUS NTAPI NtReadFileScatter(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE UserApcRoutine, _In_opt_ PVOID UserApcContext, _Out_ PIO_STATUS_BLOCK UserIoStatusBlock, _In_ FILE_SEGMENT_ELEMENT BufferDescription[], _In_ ULONG BufferLength, _In_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtSetVolumeInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID FsInformation, _In_ ULONG Length, _In_ FS_INFORMATION_CLASS FsInformationClass)
NTSYSCALLAPI NTSTATUS NTAPI NtEnumerateBootEntries(_In_ PVOID Buffer, _In_ PULONG BufferLength)
NTSYSCALLAPI NTSTATUS NTAPI NtFlushBuffersFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
NTSYSAPI NTSTATUS NTAPI ZwFsControlFile(IN HANDLE DeviceHandle, IN HANDLE Event OPTIONAL, IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, IN PVOID ApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, IN ULONG IoControlCode, IN PVOID InputBuffer, IN ULONG InputBufferSize, OUT PVOID OutputBuffer, IN ULONG OutputBufferSize)
unsigned char BOOLEAN
NTSYSCALLAPI NTSTATUS NTAPI NtQueryAttributesFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_BASIC_INFORMATION FileInformation)
NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeDirectoryFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_ PVOID Buffer, _In_ ULONG BufferSize, _In_ ULONG CompletionFilter, _In_ BOOLEAN WatchTree)
NTSYSCALLAPI NTSTATUS NTAPI NtCancelIoFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG IoControlCode
Definition: iofuncs.h:719
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG CreateOptions
Definition: iofuncs.h:642
#define _Out_
Definition: no_sal2.h:323
Definition: bufpool.h:45
NTSYSAPI NTSTATUS NTAPI ZwUnloadDriver(_In_ PUNICODE_STRING DriverServiceName)
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID OutputBuffer
Definition: iofuncs.h:713
NTSYSCALLAPI NTSTATUS NTAPI NtModifyBootEntry(_In_ PBOOT_ENTRY BootEntry)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES ObjectAttributes
Definition: iofuncs.h:642
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FS_INFORMATION_CLASS FsInformationClass
Definition: iofuncs.h:919
enum _FSINFOCLASS FS_INFORMATION_CLASS
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FILE_INFORMATION_CLASS FileInformationClass
Definition: iofuncs.h:841
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _Out_writes_bytes_(Length) PVOID FileInformation
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryVolumeInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID FsInformation, _In_ ULONG Length, _In_ FS_INFORMATION_CLASS FsInformationClass)
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_opt_ PLARGE_INTEGER ByteOffset
Definition: iofuncs.h:934
enum _DEVICE_RELATION_TYPE DEVICE_RELATION_TYPE
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtWriteFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_opt_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
enum _FILE_INFORMATION_CLASS FILE_INFORMATION_CLASS
Definition: directory.c:44
NTSTATUS NTAPI IoSynchronousInvalidateDeviceRelations(_In_ PDEVICE_OBJECT DeviceObject, _In_ DEVICE_RELATION_TYPE Type)
#define _Out_opt_
Definition: no_sal2.h:339
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID FileInformation, _In_ ULONG Length, _In_ FILE_INFORMATION_CLASS FileInformationClass)
_In_ PIRP _In_ ULONG _In_ ULONG _In_ ULONG InBufferSize
Definition: classpnp.h:429
VOID FASTCALL IoAssignDriveLetters(_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ PSTRING NtDeviceName, _Out_ PUCHAR NtSystemPath, _Out_ PSTRING NtSystemPathString)
NTSYSCALLAPI NTSTATUS NTAPI NtRemoveIoCompletion(_In_ HANDLE IoCompletionHandle, _Out_ PVOID *CompletionKey, _Out_ PVOID *CompletionContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_opt_ PLARGE_INTEGER Timeout)
#define __kernel_entry
Definition: specstrings.h:50
NTSYSAPI NTSTATUS NTAPI ZwQueryFullAttributesFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_NETWORK_OPEN_INFORMATION FileInformation)
Definition: iotypes.h:984
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG _In_opt_ PSID StartSid
Definition: zwfuncs.h:1120
#define BufferSize
Definition: classpnp.h:419
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteDriverEntry(_In_ ULONG Id)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryIoCompletion(_In_ HANDLE IoCompletionHandle, _In_ IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass, _Out_ PVOID IoCompletionInformation, _In_ ULONG IoCompletionInformationLength, _Out_opt_ PULONG ResultLength)
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER AllocationSize
Definition: iofuncs.h:642
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT DeviceObject
Definition: iofuncs.h:699
NTSYSCALLAPI NTSTATUS NTAPI NtSetIoCompletion(_In_ HANDLE IoCompletionPortHandle, _In_ PVOID CompletionKey, _In_ PVOID CompletionContext, _In_ NTSTATUS CompletionStatus, _In_ ULONG CompletionInformation)
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteBootEntry(_In_ ULONG Id)
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE ApcRoutine
Definition: iofuncs.h:719
NTSYSAPI NTSTATUS NTAPI ZwWriteFileGather(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ FILE_SEGMENT_ELEMENT BufferDescription[], _In_ ULONG BufferLength, _In_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
NTSYSAPI NTSTATUS NTAPI ZwQueryVolumeInformationFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PVOID FsInformation, IN ULONG Length, IN FS_INFORMATION_CLASS FsInformationClass)
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ ULONG _In_ ULONG OutputBufferLength
Definition: iofuncs.h:728
NTSYSAPI NTSTATUS NTAPI ZwOpenFile(_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG OpenOptions)
NTSYSAPI NTSTATUS NTAPI ZwDeleteBootEntry(_In_ PUNICODE_STRING EntryName, _In_ PUNICODE_STRING EntryValue)
NTSYSAPI NTSTATUS NTAPI ZwSetQuotaInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PVOID Buffer, _In_ ULONG BufferLength)
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtUnlockFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_ ULONG Key)
DRIVER_INITIALIZE * PDRIVER_INITIALIZE
Definition: iotypes.h:2126
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ ULONG _In_ BOOLEAN _In_ ULONG EaListLength
Definition: fltkernel.h:2298
NTSYSCALLAPI NTSTATUS NTAPI NtQueryBootOptions(_In_ PBOOT_OPTIONS BootOptions, _In_ PULONG BootOptionsLength)
NTSYSCALLAPI NTSTATUS NTAPI NtLoadDriver(_In_ PUNICODE_STRING DriverServiceName)
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryDirectoryFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID FileInformation, _In_ ULONG Length, _In_ FILE_INFORMATION_CLASS FileInformationClass, _In_ BOOLEAN ReturnSingleEntry, _In_opt_ PUNICODE_STRING FileName, _In_ BOOLEAN RestartScan)
_In_ PSID_IDENTIFIER_AUTHORITY _In_ UCHAR SubAuthorityCount
Definition: rtlfuncs.h:1487
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG FileAttributes
Definition: iofuncs.h:642
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
Definition: cdmake.c:111
IN PUCHAR IN ULONG Count
Definition: iofuncs.h:45
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID InputBuffer
Definition: iofuncs.h:713
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID FileInformation, _In_ ULONG Length, _In_ FILE_INFORMATION_CLASS FileInformationClass)
#define _In_
Definition: no_sal2.h:204
NTSTATUS NTAPI NtSetDriverEntryOrder(_In_ PULONG Ids, _In_ PULONG Count)
static ULONG Timeout
Definition: ping.c:61
DRIVER_INITIALIZE DriverEntry
Definition: condrv.c:21
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG FsControlCode
Definition: iofuncs.h:750
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtFsControlFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG FsControlCode, _In_reads_bytes_opt_(InputBufferLength) PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer, _In_ ULONG OutputBufferLength)
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenFile(_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG OpenOptions)
unsigned int * PULONG
Definition: retypes.h:1
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG ShareAccess
Definition: iofuncs.h:642
_Inout_ PLIST_ENTRY _In_ PVOID _In_ PSTRING _In_ BOOLEAN _In_ BOOLEAN _In_ ULONG CompletionFilter
Definition: fltkernel.h:2239
NTSYSCALLAPI NTSTATUS NTAPI NtFlushWriteBuffer(VOID)
Definition: file.c:3937
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FILE_INFORMATION_CLASS _In_ BOOLEAN _In_opt_ PUNICODE_STRING _In_ BOOLEAN RestartScan
Definition: iofuncs.h:841
IN PLARGE_INTEGER IN PLARGE_INTEGER PEPROCESS ULONG BOOLEAN BOOLEAN ExclusiveLock
Definition: fatprocs.h:2697
NTSYSAPI NTSTATUS NTAPI ZwSetIoCompletion(_In_ HANDLE IoCompletionPortHandle, _In_ PVOID CompletionKey, _In_ PVOID CompletionContext, _In_ NTSTATUS CompletionStatus, _In_ ULONG CompletionInformation)
NTSYSCALLAPI NTSTATUS NTAPI NtAddBootEntry(_In_ PBOOT_ENTRY BootEntry, _In_ ULONG Id)
_In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: iofuncs.h:1003
NTSYSAPI NTSTATUS NTAPI ZwQueryAttributesFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_BASIC_INFORMATION FileInformation)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK IoStatusBlock
Definition: iofuncs.h:642
unsigned int ULONG
Definition: retypes.h:1
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG CreateDisposition
Definition: iofuncs.h:642
NTSYSCALLAPI NTSTATUS NTAPI NtAddDriverEntry(_In_ PEFI_DRIVER_ENTRY BootEntry, _In_ ULONG Id)
NTSYSCALLAPI NTSTATUS NTAPI NtSetBootEntryOrder(_In_ PULONG Ids, _In_ PULONG Count)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryEaFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_ PVOID Buffer, _In_ ULONG Length, _In_ BOOLEAN ReturnSingleEntry, _In_opt_ PVOID EaList, _In_ ULONG EaListLength, _In_opt_ PULONG EaIndex, _In_ BOOLEAN RestartScan)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryBootEntryOrder(_In_ PULONG Ids, _In_ PULONG Count)
NTSYSAPI NTSTATUS NTAPI ZwOpenIoCompletion(_Out_ PHANDLE CompetionPort, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG _In_reads_bytes_opt_(EaLength) PVOID EaBuffer
NTSYSCALLAPI NTSTATUS NTAPI NtSetQuotaInformationFile(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, PVOID Buffer, ULONG BufferLength)
ULONG ACCESS_MASK
Definition: nt_native.h:40
NTSYSAPI NTSTATUS NTAPI ZwCreateIoCompletion(_Out_ PHANDLE IoCompletionHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ ULONG NumberOfConcurrentThreads)
NTSYSCALLAPI NTSTATUS NTAPI NtTranslateFilePath(PFILE_PATH InputFilePath, ULONG OutputType, PFILE_PATH OutputFilePath, ULONG OutputFilePathLength)
Definition: efi.c:141
NTSTATUS NTAPI IoCreateDriver(_In_opt_ PUNICODE_STRING DriverName, _In_ PDRIVER_INITIALIZE InitializationFunction)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryFullAttributesFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_NETWORK_OPEN_INFORMATION FileInformation)
_IRQL_requires_max_(PASSIVE_LEVEL) NTSYSAPI NTSTATUS NTAPI ZwCreateFile(_Out_ PHANDLE FileHandle
Definition: Messaging.c:64