win32file.OpenEncryptedFileRaw

PyCObject = OpenEncryptedFileRaw(FileName, Flags )

Initiates a backup or restore operation on an encrypted file

Parameters

FileName : PyUNICODE

Name of file on which to operate

Flags : int

CREATE_FOR_IMPORT, CREATE_FOR_DIR, OVERWRITE_HIDDEN, or 0 for export

Comments

Only available on Windows 2000 or later

Return Value

Returns a PyCObject containing an operation context that can be passed to win32file::ReadEncryptedFileRaw or win32file::WriteEncryptedFileRaw. Context must be destroyed using win32file::CloseEncryptedFileRaw.