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.

Restoring NTFS encrypted file
jamesh1971