- Opens an hibernation file and fills a SANDMAN_OBJECT struct.
- Function will fail if file cannot be opened *or* contains invalid data
PSANDMAN_OBJECT
HiberOpen(
UCHAR FileName[]
);
FileName. Path the the hibernation file.
- NULL if open failed. Use GetLastError() to retrieve last error.
- Pointer to an allocated SANDMAN_OBJECT otherwise. The caller must call HiberClose() to free memory.