2.2.16 EFS_ENCRYPTION_STATUS_INFO
The EFS_ENCRYPTION_STATUS_INFO structure is used to represent the predicted outcome if an attempt were made to convert an unencrypted object to an encrypted state.
-
typedef struct { BOOL bHasCurrentKey; DWORD dwEncryptionError; } EFS_ENCRYPTION_STATUS_INFO;
bHasCurrentKey: A Boolean value signifying whether an appropriate key was found that could be used for encryption.
dwEncryptionError: The error code returned if encryption were attempted. If the operation were to succeed, this value MUST be zero. Otherwise, it MUST be set to a nonzero value.