NtOpenFile (NTDLL.@)
NTSTATUS NtOpenFile ( PHANDLE handle, ACCESS_MASK access, POBJECT_ATTRIBUTES attr, PIO_STATUS_BLOCK io, ULONG sharing, ULONG options )
Open a file.
handle | [Out] | Variable that receives the file handle on return. |
access | [In] | Access desired by the caller to the file. |
attr | [In] | Structure describing the file to be opened. |
io | [Out] | Receives details about the result of the operation. |
sharing | [In] | Type of shared access the caller requires. |
options | [In] | Options for the file open. |
Success: 0. FileHandle and IoStatusBlock are updated.
Failure: An NTSTATUS error code describing the error.
Defined in "winternl.h".
Implemented in "dlls/ntdll/file.c". source.winehq.org/source/dlls/ntdll/file.c
Debug channel "ntdll".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.