G
Guest
If tried to write a programm as discribed in the following technical article
http://msdn.microsoft.com/embedded/...mesInHibernateOnceResumeManyConfiguration.asp
But some things are not so clear:
If done the following as discribed in the article.
I've done Point 1 and 2 auf the artikel. (Lock,Dismount)
All DeviceIoControlfunctions returns with an OK state.
Then i want to see whats happen with the unprotected partition.
In my opinion, with the exporer it should not possible to access to the
dismounted partiton, but ist was possible, strange?
Is this behavior normal?
But part what make the most problem is point 5:
To allow the system to rediscover the volume, it first must be unlocked. Use
the DeviceIoControl function with the dwIoControlCode parameter
FS_UNLOCK_VOLUME. This unlocks the volume.
The volume must be unlocked immediately after the system boots.
How is this to understand?
Where is Point to start this, or how do i know that i boot from an
hibernatefile?
Is there any entry point?
If i try to unlock the volume manually after boot from the hibernate state,
i've got a FAIL from the DeviceIoControl.
Anyone here has successfully written a programm, what has done this as
described in the artice?
On the other side, should Microsoft not support us with a Programm what do
exactly this like this an advanced XPEPM.exe?
1. Detect all not writeprotected partitions
2. ock and dismount them
3. create the hibernate file
4. after boot from the hibernatefile unlock the partitons again.
Regards
gerros
Openb
Lock ismount the
http://msdn.microsoft.com/embedded/...mesInHibernateOnceResumeManyConfiguration.asp
But some things are not so clear:
If done the following as discribed in the article.
I've done Point 1 and 2 auf the artikel. (Lock,Dismount)
All DeviceIoControlfunctions returns with an OK state.
Then i want to see whats happen with the unprotected partition.
In my opinion, with the exporer it should not possible to access to the
dismounted partiton, but ist was possible, strange?
Is this behavior normal?
But part what make the most problem is point 5:
To allow the system to rediscover the volume, it first must be unlocked. Use
the DeviceIoControl function with the dwIoControlCode parameter
FS_UNLOCK_VOLUME. This unlocks the volume.
The volume must be unlocked immediately after the system boots.
How is this to understand?
Where is Point to start this, or how do i know that i boot from an
hibernatefile?
Is there any entry point?
If i try to unlock the volume manually after boot from the hibernate state,
i've got a FAIL from the DeviceIoControl.
Anyone here has successfully written a programm, what has done this as
described in the artice?
On the other side, should Microsoft not support us with a Programm what do
exactly this like this an advanced XPEPM.exe?
1. Detect all not writeprotected partitions
2. ock and dismount them
3. create the hibernate file
4. after boot from the hibernatefile unlock the partitons again.
Regards
gerros
Openb
Lock ismount the