2OOO, 29 December
NtOpenFile
NtOpenFile
NTSYSAPI
NTSTATUS
NTAPI
NtOpenFile(
OUT PHANDLE FileHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN ULONG ShareAccess,
IN ULONG OpenOptions );
(Also avaiable in 2000 DDK.)
- FileHandle Result of call.
- DesiredAccess Access mask to opened
file object.
- ObjectAttributes File name, path etc.
See
NtCreateFile for more information.
- IoStatusBlock Completion status of
call.
- ShareAccess Sharing option defined as
FILE_SHARE_*.
- OpenOptions Open options.
- Documented by:
- Tomasz Nowak
Requirements:
- Library: ntdll.lib
See also:
-
NtCreateFile