Example #1
0
 public unsafe static extern NTStatus NtQueryDirectoryFile(
     SafeFileHandle FileHandle,
     IntPtr Event,
     AsyncProcedureCall ApcRoutine,
     IntPtr ApcContext,
     out IO_STATUS_BLOCK IoStatusBlock,
     void *FileInformation,
     uint Length,
     FileInformationClass FileInformationClass,
     Boolean8 ReturnSingleEntry,
     UNICODE_STRING *FileName,
     Boolean8 RestartScan);
Example #2
0
 public unsafe static extern NTStatus NtCreateFile(
     out IntPtr FileHandle,
     DesiredAccess DesiredAccess,
     ref OBJECT_ATTRIBUTES ObjectAttributes,
     out IO_STATUS_BLOCK IoStatusBlock,
     long *AllocationSize,
     FileAttributes FileAttributes,
     ShareModes ShareAccess,
     CreateDisposition CreateDisposition,
     CreateOptions CreateOptions,
     void *EaBuffer,
     uint EaLength);
Example #3
0
 public unsafe static extern NTStatus NtSetInformationFile(
     SafeFileHandle FileHandle,
     out IO_STATUS_BLOCK IoStatusBlock,
     void *FileInformation,
     FileInformationClass FileInformationClass);