win32file.ReOpenFile

PyHANDLE = ReOpenFile(OriginalFile, DesiredAccess , ShareMode , Flags )

Creates a new handle to an open file

Parameters

OriginalFile : PyHANDLE

An open file handle

DesiredAccess : int

Access mode, cannot conflict with original access mode

ShareMode : int

Sharing mode (FILE_SHARE_*), cannot conflict with original share mode

Flags : int

Combination of FILE_FLAG_* flags

Comments

Available on Vista and later.

Accepts keyword args.