ReactOS  0.4.15-dev-5608-gafb953a
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 
59 VOID
60 NTAPI
63 );
64 
66 NTAPI
69  _In_ PCM_RESOURCE_LIST RawResourceList,
70  _In_ PCM_RESOURCE_LIST TranslatedResourceList,
71  _In_ ULONG ResourceListSize
72 );
73 #endif
74 
75 //
76 // Native calls
77 //
80 NTAPI
82  _In_ PBOOT_ENTRY BootEntry,
83  _In_ ULONG Id
84 );
85 
88 NTAPI
90  _In_ PEFI_DRIVER_ENTRY BootEntry,
91  _In_ ULONG Id
92 );
93 
96 NTAPI
100 );
101 
104 NTSTATUS
105 NTAPI
118 );
119 
121 NTSTATUS
122 NTAPI
124  _Out_ PHANDLE IoCompletionHandle,
127  _In_ ULONG NumberOfConcurrentThreads
128 );
129 
131 NTSTATUS
132 NTAPI
134  _Out_ PHANDLE MailSlotFileHandle,
140  _In_ ULONG MaxMessageSize,
141  _In_ PLARGE_INTEGER TimeOut
142 );
143 
145 NTSTATUS
146 NTAPI
148  _Out_ PHANDLE NamedPipeFileHandle,
155  _In_ ULONG WriteModeMessage,
156  _In_ ULONG ReadModeMessage,
157  _In_ ULONG NonBlocking,
158  _In_ ULONG MaxInstances,
161  _In_ PLARGE_INTEGER DefaultTimeOut
162 );
163 
164 
166 NTSTATUS
167 NTAPI
169  _In_ ULONG Id
170 );
171 
173 NTSTATUS
174 NTAPI
176  _In_ ULONG Id
177 );
178 
180 NTSTATUS
181 NTAPI
184 );
185 
188 NTSTATUS
189 NTAPI
201 );
202 
204 NTSTATUS
205 NTAPI
207  _In_ PVOID Buffer,
209 );
210 
212 NTSTATUS
213 NTAPI
215  _In_ PVOID Buffer,
217 );
218 
220 NTSTATUS
221 NTAPI
225 );
226 
228 NTSTATUS
229 NTAPI
231 
234 NTSTATUS
235 NTAPI
247 );
248 
250 NTSTATUS
251 NTAPI
253  _In_ PUNICODE_STRING DriverServiceName
254 );
255 
257 NTSTATUS
258 NTAPI
259 NtLockFile(
267  _In_ ULONG Key,
268  _In_ BOOLEAN FailImmediatedly,
270 );
271 
273 NTSTATUS
274 NTAPI
276  _In_ PBOOT_ENTRY BootEntry
277 );
278 
280 NTSTATUS
281 NTAPI
284 );
285 
287 NTSTATUS
288 NTAPI
299 );
300 
302 NTSTATUS
303 NTAPI
304 NtOpenFile(
311 );
312 
314 NTSTATUS
315 NTAPI
317  _Out_ PHANDLE CompetionPort,
320 );
321 
323 NTSTATUS
324 NTAPI
328 );
329 
330 NTSTATUS
331 NTAPI
333  _In_ PULONG Ids,
335 );
336 
338 NTSTATUS
339 NTAPI
341  _In_ PULONG Ids,
343 );
344 
346 NTSTATUS
347 NTAPI
350  _In_ PULONG BootOptionsLength
351 );
352 
355 NTSTATUS
356 NTAPI
364  _In_ ULONG Length,
369 );
370 
372 NTSTATUS
373 NTAPI
378  _In_ ULONG Length,
380  _In_opt_ PVOID EaList,
384 );
385 
387 NTSTATUS
388 NTAPI
392 );
393 
396 NTSTATUS
397 NTAPI
402  _In_ ULONG Length,
404 );
405 
407 NTSTATUS
408 NTAPI
410  _In_ HANDLE IoCompletionHandle,
411  _In_ IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass,
412  _Out_ PVOID IoCompletionInformation,
413  _In_ ULONG IoCompletionInformationLength,
415 );
416 
419 NTSTATUS
420 NTAPI
425  _In_ ULONG Length,
429  _In_reads_bytes_opt_((8 + (4 * ((SID *)StartSid)->SubAuthorityCount))) // SeLengthSid()
430  PSID StartSid,
432 );
433 
436 NTSTATUS
437 NTAPI
441  _Out_writes_bytes_(Length) PVOID FsInformation,
442  _In_ ULONG Length,
444 );
445 
448 NTSTATUS
449 NTAPI
450 NtReadFile(
457  _In_ ULONG Length,
460 );
461 
463 NTSTATUS
464 NTAPI
468  _In_opt_ PIO_APC_ROUTINE UserApcRoutine,
469  _In_opt_ PVOID UserApcContext,
470  _Out_ PIO_STATUS_BLOCK UserIoStatusBlock,
471  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
475 );
476 
478 NTSTATUS
479 NTAPI
481  _In_ HANDLE IoCompletionHandle,
482  _Out_ PVOID *CompletionKey,
486 );
487 
489 NTSTATUS
490 NTAPI
492  _In_ PULONG Ids,
494 );
495 
497 NTSTATUS
498 NTAPI
501  _In_ ULONG FieldsToChange
502 );
503 
504 NTSTATUS
505 NTAPI
507  _In_ PULONG Ids,
509 );
510 
512 NTSTATUS
513 NTAPI
517  PVOID EaBuffer,
518  ULONG EaBufferSize
519 );
520 
523 NTSTATUS
524 NTAPI
529  _In_ ULONG Length,
531 );
532 
534 NTSTATUS
535 NTAPI
537  _In_ HANDLE IoCompletionPortHandle,
538  _In_ PVOID CompletionKey,
540  _In_ NTSTATUS CompletionStatus,
541  _In_ ULONG CompletionInformation
542 );
543 
545 NTSTATUS
546 NTAPI
550  PVOID Buffer,
552 );
553 
556 NTSTATUS
557 NTAPI
561  _In_reads_bytes_(Length) PVOID FsInformation,
562  _In_ ULONG Length,
564 );
565 
567 NTSTATUS
568 NTAPI
570  PFILE_PATH InputFilePath,
571  ULONG OutputType,
572  PFILE_PATH OutputFilePath,
573  ULONG OutputFilePathLength
574 );
575 
577 NTSTATUS
578 NTAPI
580  _In_ PUNICODE_STRING DriverServiceName
581 );
582 
585 NTSTATUS
586 NTAPI
592  _In_ ULONG Key
593 );
594 
597 NTSTATUS
598 NTAPI
606  _In_ ULONG Length,
609 );
610 
612 NTSTATUS
613 NTAPI
620  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
624 );
625 
626 NTSYSAPI
627 NTSTATUS
628 NTAPI
630  _In_ PUNICODE_STRING EntryName,
631  _In_ PUNICODE_STRING EntryValue
632 );
633 
634 NTSYSAPI
635 NTSTATUS
636 NTAPI
640 );
641 
643 NTSYSAPI
644 NTSTATUS
645 NTAPI
646 ZwCreateFile(
658 );
659 
660 NTSYSAPI
661 NTSTATUS
662 NTAPI
664  _Out_ PHANDLE IoCompletionHandle,
667  _In_ ULONG NumberOfConcurrentThreads
668 );
669 
670 NTSYSAPI
671 NTSTATUS
672 NTAPI
674  _Out_ PHANDLE MailSlotFileHandle,
680  _In_ ULONG MaxMessageSize,
681  _In_ PLARGE_INTEGER TimeOut
682 );
683 
684 NTSYSAPI
685 NTSTATUS
686 NTAPI
688  _Out_ PHANDLE NamedPipeFileHandle,
695  _In_ ULONG WriteModeMessage,
696  _In_ ULONG ReadModeMessage,
697  _In_ ULONG NonBlocking,
698  _In_ ULONG MaxInstances,
701  _In_ PLARGE_INTEGER DefaultTimeOut
702 );
703 
704 NTSYSAPI
705 NTSTATUS
706 NTAPI
708  _In_ PUNICODE_STRING EntryName,
709  _In_ PUNICODE_STRING EntryValue
710 );
711 
712 NTSYSAPI
713 NTSTATUS
714 NTAPI
717 );
718 
720 NTSYSAPI
721 NTSTATUS
722 NTAPI
734 );
735 
737 NTSYSAPI
738 NTSTATUS
739 NTAPI
743 );
744 
745 NTSYSAPI
746 NTSTATUS
747 NTAPI
749 
751 NTSYSAPI
752 NTSTATUS
753 NTAPI
765 );
766 
767 #ifdef NTOS_MODE_USER
768 NTSYSAPI
769 NTSTATUS
770 NTAPI
771 ZwLoadDriver(
772  _In_ PUNICODE_STRING DriverServiceName
773 );
774 #endif
775 
776 NTSYSAPI
777 NTSTATUS
778 NTAPI
779 ZwLockFile(
787  _In_ ULONG Key,
788  _In_ BOOLEAN FailImmediatedly,
790 );
791 
792 NTSYSAPI
793 NTSTATUS
794 NTAPI
805 );
806 
807 NTSYSAPI
808 NTSTATUS
809 NTAPI
810 ZwOpenFile(
817 );
818 
819 NTSYSAPI
820 NTSTATUS
821 NTAPI
823  _Out_ PHANDLE CompetionPort,
826 );
827 
828 NTSYSAPI
829 NTSTATUS
830 NTAPI
834 );
835 
837 NTSYSAPI
838 NTSTATUS
839 NTAPI
840 ZwQueryDirectoryFile(
852 );
853 
854 #ifdef NTOS_MODE_USER
855 NTSYSAPI
856 NTSTATUS
857 NTAPI
858 ZwQueryEaFile(
862  _In_ ULONG Length,
864  _In_opt_ PVOID EaList,
868 );
869 #endif
870 
871 NTSYSAPI
872 NTSTATUS
873 NTAPI
877 );
878 
880 NTSYSAPI
881 NTSTATUS
882 NTAPI
883 ZwQueryInformationFile(
887  _In_ ULONG Length,
889 );
890 
891 NTSYSAPI
892 NTSTATUS
893 NTAPI
895  _In_ HANDLE IoCompletionHandle,
896  _In_ IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass,
897  _Out_ PVOID IoCompletionInformation,
898  _In_ ULONG IoCompletionInformationLength,
900 );
901 
902 NTSYSAPI
903 NTSTATUS
904 NTAPI
909  _In_ ULONG Length,
911  _In_opt_ PVOID SidList,
915 );
916 
918 NTSYSAPI
919 NTSTATUS
920 NTAPI
924  _Out_writes_bytes_(Length) PVOID FsInformation,
927 );
928 
930 NTSYSAPI
931 NTSTATUS
932 NTAPI
933 ZwReadFile(
943 );
944 
945 NTSYSAPI
946 NTSTATUS
947 NTAPI
951  _In_opt_ PIO_APC_ROUTINE UserApcRoutine,
952  _In_opt_ PVOID UserApcContext,
953  _Out_ PIO_STATUS_BLOCK UserIoStatusBlock,
954  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
958 );
959 
960 NTSYSAPI
961 NTSTATUS
962 NTAPI
964  _In_ HANDLE IoCompletionHandle,
965  _Out_ PVOID *CompletionKey,
969 );
970 
971 #ifdef NTOS_MODE_USER
972 NTSYSAPI
973 NTSTATUS
974 NTAPI
975 ZwSetEaFile(
978  PVOID EaBuffer,
979  ULONG EaBufferSize
980 );
981 #endif
982 
984 NTSYSAPI
985 NTSTATUS
986 NTAPI
987 ZwSetInformationFile(
991  _In_ ULONG Length,
993 );
994 
995 NTSYSAPI
996 NTSTATUS
997 NTAPI
999  _In_ HANDLE IoCompletionPortHandle,
1000  _In_ PVOID CompletionKey,
1002  _In_ NTSTATUS CompletionStatus,
1003  _In_ ULONG CompletionInformation
1004 );
1005 
1006 NTSYSAPI
1007 NTSTATUS
1008 NTAPI
1012  _In_ PVOID Buffer,
1014 );
1015 
1017 NTSYSAPI
1018 NTSTATUS
1019 NTAPI
1020 ZwSetVolumeInformationFile(
1023  _In_reads_bytes_(Length) PVOID FsInformation,
1024  _In_ ULONG Length,
1026 );
1027 
1028 NTSYSAPI
1029 NTSTATUS
1030 NTAPI
1032  _In_ PUNICODE_STRING DriverServiceName
1033 );
1034 
1035 NTSYSAPI
1036 NTSTATUS
1037 NTAPI
1038 ZwUnlockFile(
1044 );
1045 
1047 NTSYSAPI
1048 NTSTATUS
1049 NTAPI
1050 ZwWriteFile(
1057  _In_ ULONG Length,
1060 );
1061 
1062 NTSYSAPI
1063 NTSTATUS
1064 NTAPI
1071  _In_ FILE_SEGMENT_ELEMENT BufferDescription[],
1075 );
1076 
1077 #ifdef __cplusplus
1078 }
1079 #endif
1080 
1081 #endif
1082 
1083 
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)
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)
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3767
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID ApcContext
Definition: iofuncs.h:725
NTSYSAPI NTSTATUS NTAPI ZwCancelIoFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2654
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
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define _In_opt_
Definition: ms_sal.h:309
__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)
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:658
_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:6013
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE _In_opt_ __drv_aliasesMem WDFCONTEXT CompletionContext
Definition: wdfrequest.h:893
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)
#define _Out_
Definition: ms_sal.h:345
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:2297
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:837
LONG NTSTATUS
Definition: precomp.h:26
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)
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:2238
#define NTSYSCALLAPI
Definition: ntbasedef.h:204
NTSYSCALLAPI NTSTATUS NTAPI NtSetEaFile(_In_ HANDLE FileHandle, _In_ PIO_STATUS_BLOCK IoStatusBlock, PVOID EaBuffer, ULONG EaBufferSize)
_In_ WDFREQUEST _In_ size_t _In_ size_t InputBufferLength
Definition: wdfio.h:318
#define FASTCALL
Definition: nt_native.h:50
#define NTSYSAPI
Definition: ntoskrnl.h:12
__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_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:847
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
_In_ WDFREQUEST _In_ size_t OutputBufferLength
Definition: wdfio.h:318
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)
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
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
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)
#define _In_
Definition: ms_sal.h:308
Definition: bufpool.h:45
NTSYSAPI NTSTATUS NTAPI ZwUnloadDriver(_In_ PUNICODE_STRING DriverServiceName)
NTSYSCALLAPI NTSTATUS NTAPI NtModifyBootEntry(_In_ PBOOT_ENTRY BootEntry)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES ObjectAttributes
Definition: iofuncs.h:648
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FS_INFORMATION_CLASS FsInformationClass
Definition: iofuncs.h:925
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:847
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition: wdfdriver.h:213
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _Out_writes_bytes_(Length) PVOID FileInformation
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:859
__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:940
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)
_In_ ULONG InBufferSize
Definition: wdfwmi.h:106
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:949
__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)
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG _Out_opt_ PULONG CreateDisposition
Definition: wdfregistry.h:112
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:355
_In_ ULONG OutBufferSize
Definition: wdfwmi.h:87
NTSYSAPI NTSTATUS NTAPI ZwQueryFullAttributesFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_NETWORK_OPEN_INFORMATION FileInformation)
Definition: iotypes.h:1000
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG _In_opt_ PSID StartSid
Definition: zwfuncs.h:1120
Type
Definition: Type.h:6
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_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER AllocationSize
Definition: iofuncs.h:648
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:725
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)
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:2235
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ ULONG _In_ BOOLEAN _In_ ULONG EaListLength
Definition: fltkernel.h:2297
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:454
_In_ WDFREQUEST _In_ size_t _In_ size_t _In_ ULONG IoControlCode
Definition: wdfio.h:318
__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)
Definition: iotypes.h:985
_In_ PSID_IDENTIFIER_AUTHORITY _In_ UCHAR SubAuthorityCount
Definition: rtlfuncs.h:1513
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG FileAttributes
Definition: iofuncs.h:648
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
IN PUCHAR IN ULONG Count
Definition: iofuncs.h:47
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG CreateOptions
Definition: wdfregistry.h:112
__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)
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
Definition: fltkernel.h:1230
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:756
__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)
#define _Out_opt_
Definition: ms_sal.h:346
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:648
_Inout_ PLIST_ENTRY _In_ PVOID _In_ PSTRING _In_ BOOLEAN _In_ BOOLEAN _In_ ULONG CompletionFilter
Definition: fltkernel.h:2238
NTSYSCALLAPI NTSTATUS NTAPI NtFlushWriteBuffer(VOID)
Definition: file.c:3938
_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:847
IN PLARGE_INTEGER IN PLARGE_INTEGER PEPROCESS ULONG BOOLEAN BOOLEAN ExclusiveLock
Definition: fatprocs.h:2709
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)
VOID NTAPI IoDeleteDriver(_In_ PDRIVER_OBJECT DriverObject)
Definition: driver.c:1741
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:648
unsigned int ULONG
Definition: retypes.h:1
NTSYSCALLAPI NTSTATUS NTAPI NtAddDriverEntry(_In_ PEFI_DRIVER_ENTRY BootEntry, _In_ ULONG Id)
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
Definition: wdfdevice.h:3776
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
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:251
NTSTATUS NTAPI IoCreateDriver(_In_opt_ PUNICODE_STRING DriverName, _In_ PDRIVER_INITIALIZE InitializationFunction)
Definition: driver.c:1561
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
Queries information details about a security descriptor.
Definition: Messaging.c:64