You use WriteEncryptedFileRaw to restore encrypted files on Windows Vista or Windows Server 2008. After the restore of an encrypted sparse file the FILE_ATTRIBUTE_SPARSE_FILE is missing.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.