FileSystemPowerFunction()

"Harsh" <harshav_b-/[email protected]>
Newsgroups gmane.comp.windows.ce.freeware
Message-ID <[email protected]>
Hi All
I am new to Windows CE paltform development. I have a query to post.
I have to fix the following problem.

"While a big file is being copied on to a "disk on chip", if the 
system is suspended, a residue of the file copied remains on the 
disk."

I am using a third party file system for this disk on chip.

The Disk driver has opened a stream interface. I made changes in the 
registry to make this driver power manageable so now, when the 
system is being suspended, my IOControl function is invoked with 
IOCTL_POWER_SET.

But, cleaning up the residue, seems to be a tough task, as the 
driver functions are being called by FSD. If I implement the logic, 
I think its goin to be an overhead.

Then I found out from the help files that the Power Manager calls 
FileSystemPowerFunction(). I am using "DEFAULT" PDD for power 
manager from the PUBLIC tree. There in the code, I found that this 
power function is being called only when the platform is using "hive 
based registry".

I am not really able to understand what is exactly hive based 
registry and how to proceed.. Can anybody of you help me please?

If at all you have read this long mail till the end, thanks a lot 
for listening to a biginner :).

Thank you in advance.

Regards,
Harshavardhan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.