Restoring NTFS encrypted file

Hey,

i am using OpenEncryptedFileRaw(), WriteEncryptedFileRaw(), closeEncryptedFileRaw() to restore an encrypted file from a *.bkf backup file which is successfully restored by windows backu utility. I am giving the whole complete data to these API;s through callback defined by windows. The problem here is that it is creating file with encryption enabled but witnin file no data is written whatsoever. It is 100% ensured that callback is giving proper data. the return value of WriteEncryptedFileRaw() gives success value.

can anyone help me in this regard, i can post my code as well if anyone does have clue about it.




Answer this question

Restoring NTFS encrypted file

  • jamesh1971

    There are Platform SDK functions. It's likely not many people on this forum have any experience with these functions. You'll probably have a better audience in the Microsoft development newsgroups at http://msdn.microsoft.com/newsgroups/.

  • Restoring NTFS encrypted file