win32file.FileEncryptionStatus

int = FileEncryptionStatus(FileName)

retrieves the encryption status of the specified file.

Parameters

FileName : string/unicode

file to query

Comments

Requires Windows 2000 or higher.

Return Value

The result is documented as being one of FILE_ENCRYPTABLE, FILE_IS_ENCRYPTED, FILE_SYSTEM_ATTR, FILE_ROOT_DIR, FILE_SYSTEM_DIR, FILE_UNKNOWN, FILE_SYSTEM_NOT_SUPPORT, FILE_USER_DISALLOWED, or FILE_READ_ONLY