private static unsafe partial uint NtCreateFile(
     IntPtr *FileHandle,
     DesiredAccess DesiredAccess,
     OBJECT_ATTRIBUTES *ObjectAttributes,
     IO_STATUS_BLOCK *IoStatusBlock,
     long *AllocationSize,
     FileAttributes FileAttributes,
     FileShare ShareAccess,
     CreateDisposition CreateDisposition,
     CreateOptions CreateOptions,
     void *EaBuffer,
     uint EaLength);
Esempio n. 2
0
 public static extern uint NtOpenFile(out IntPtr handle, uint access, OBJECT_ATTRIBUTES *objectAttributes, IO_STATUS_BLOCK *ioStatus, System.IO.FileShare share, uint openOptions);
Esempio n. 3
0
 public static extern uint NtOpenFile(IntPtr *FileHandle, uint DesiredAccess, OBJECT_ATTRIBUTES *ObjectAttributes, IO_STATUS_BLOCK *IoStatusBlock, uint ShareAccess, uint OpenOptions);
Esempio n. 4
0
 public static extern unsafe NTSTATUS NtOpenSection(
     out SafeNTObjectHandle sectionHandle,
     Kernel32.ACCESS_MASK desiredAccess,
     [Friendly(FriendlyFlags.In)] OBJECT_ATTRIBUTES *objectAttributes);
Esempio n. 5
0
 public static extern unsafe int ZwOpenSection(
     [Out] out IntPtr SectionHandle,
     [In] uint DesiredAccess,
     [In] OBJECT_ATTRIBUTES *ObjectAttributes);
Esempio n. 6
0
 public static extern int NtNotifyChangeMultipleKeys(HANDLE MasterKeyHandle, [NativeTypeName("ULONG")] uint Count, [NativeTypeName("OBJECT_ATTRIBUTES []")] OBJECT_ATTRIBUTES *SubordinateObjects, HANDLE Event, [NativeTypeName("PIO_APC_ROUTINE")] delegate *unmanaged <void *, IO_STATUS_BLOCK *, uint, void> ApcRoutine, [NativeTypeName("PVOID")] void *ApcContext, [NativeTypeName("PIO_STATUS_BLOCK")] IO_STATUS_BLOCK *IoStatusBlock, [NativeTypeName("ULONG")] uint CompletionFilter, [NativeTypeName("BOOLEAN")] byte WatchTree, [NativeTypeName("PVOID")] void *Buffer, [NativeTypeName("ULONG")] uint BufferSize, [NativeTypeName("BOOLEAN")] byte Asynchronous);
Esempio n. 7
0
 public static extern int NtOpenFile([NativeTypeName("PHANDLE")] HANDLE *FileHandle, [NativeTypeName("ACCESS_MASK")] uint DesiredAccess, [NativeTypeName("POBJECT_ATTRIBUTES")] OBJECT_ATTRIBUTES *ObjectAttributes, [NativeTypeName("PIO_STATUS_BLOCK")] IO_STATUS_BLOCK *IoStatusBlock, [NativeTypeName("ULONG")] uint ShareAccess, [NativeTypeName("ULONG")] uint OpenOptions);
Esempio n. 8
0
 public static extern int NtCreateFile([NativeTypeName("PHANDLE")] HANDLE *FileHandle, [NativeTypeName("ACCESS_MASK")] uint DesiredAccess, [NativeTypeName("POBJECT_ATTRIBUTES")] OBJECT_ATTRIBUTES *ObjectAttributes, [NativeTypeName("PIO_STATUS_BLOCK")] IO_STATUS_BLOCK *IoStatusBlock, [NativeTypeName("PLARGE_INTEGER")] LARGE_INTEGER *AllocationSize, [NativeTypeName("ULONG")] uint FileAttributes, [NativeTypeName("ULONG")] uint ShareAccess, [NativeTypeName("ULONG")] uint CreateDisposition, [NativeTypeName("ULONG")] uint CreateOptions, [NativeTypeName("PVOID")] void *EaBuffer, [NativeTypeName("ULONG")] uint EaLength);