Exemple #1
0
 public static extern int NtQueryInformationFile(
     IntPtr fileHandle,
     ref IO_STATUS_BLOCK IoStatusBlock,
     IntPtr pInfoBlock,
     uint length,
     FILE_INFORMATION_CLASS fileInformation);
Exemple #2
0
 public static extern int NtCreateFile(ref IntPtr handle, FileAccess access,
                                       ref OBJECT_ATTRIBUTES objectAttributes, ref IO_STATUS_BLOCK ioStatus, ref long allocSize, uint fileAttributes,
                                       FileShare share, uint createDisposition, uint createOptions, IntPtr eaBuffer, uint eaLength);