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);
public static extern uint NtOpenFile(out IntPtr handle, uint access, OBJECT_ATTRIBUTES *objectAttributes, IO_STATUS_BLOCK *ioStatus, System.IO.FileShare share, uint openOptions);
public static extern uint NtOpenFile(IntPtr *FileHandle, uint DesiredAccess, OBJECT_ATTRIBUTES *ObjectAttributes, IO_STATUS_BLOCK *IoStatusBlock, uint ShareAccess, uint OpenOptions);
public static extern unsafe NTSTATUS NtOpenSection( out SafeNTObjectHandle sectionHandle, Kernel32.ACCESS_MASK desiredAccess, [Friendly(FriendlyFlags.In)] OBJECT_ATTRIBUTES *objectAttributes);
public static extern unsafe int ZwOpenSection( [Out] out IntPtr SectionHandle, [In] uint DesiredAccess, [In] OBJECT_ATTRIBUTES *ObjectAttributes);
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);
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);
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);