NAME

NtOpenFile  (NTDLL.@)

SYNOPSIS

 NTSTATUS NtOpenFile
 (
  PHANDLE            handle,
  ACCESS_MASK        access,
  POBJECT_ATTRIBUTES attr,
  PIO_STATUS_BLOCK   io,
  ULONG              sharing,
  ULONG              options
 )

DESCRIPTION

Open a file.

PARAMS

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.

RETURNS

Success: 0. FileHandle and IoStatusBlock are updated.

Failure: An NTSTATUS error code describing the error.

IMPLEMENTATION

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 Jul 2008.