Ejemplo n.º 1
0
 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);
Ejemplo n.º 2
0
 public static extern uint NtOpenFile(IntPtr *FileHandle, uint DesiredAccess, OBJECT_ATTRIBUTES *ObjectAttributes, IO_STATUS_BLOCK *IoStatusBlock, uint ShareAccess, uint OpenOptions);
Ejemplo n.º 3
0
 public static extern uint NtOpenFile(out IntPtr handle, uint access, OBJECT_ATTRIBUTES *objectAttributes, IO_STATUS_BLOCK *ioStatus, System.IO.FileShare share, uint openOptions);
Ejemplo n.º 4
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);
Ejemplo n.º 5
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);