win32file.OpenFileById

PyHANDLE = OpenFileById(File, FileId , DesiredAccess , ShareMode , Flags , SecurityAttributes )

Opens a file by File Id or Object Id

Parameters

File : PyHANDLE

Handle to a file on the volume that contains the file to open

FileId : int/PyIID

File Id or Object Id of the file to open

DesiredAccess : int

Access mode

ShareMode : int

Sharing mode (FILE_SHARE_*)

Flags : int

Combination of FILE_FLAG_* flags

SecurityAttributes=None : PySECURITY_ATTRIBUTES

Reserved, use only None

Comments

Available on Vista and later.

Accepts keyword args.