I'm writing an app that deals with reading/writing to the protected storage.
MSDN says that PStoreCreateInstance function gives you a pointer to some IPStorePtr structure, from where you can access a IEnumPStoreTypesPtr, which pointers to the actual data.
The problem is that i have no idea how these structures look like, and i can't walk them.
Does anyone have some info on this?
Thanks.
Pstore.h is included with the February 2003 Platform SDK, but a search of Pstore.h for IPStorePtr or IEnumPStoreTypesPtr returns no matches. The closest match appears to be IEnumPStoreTypes, which first appears in:
typedef interface IEnumPStoreTypes IEnumPStoreTypes;
The date for the file is 13-Mar-97.
Searching MSDN I find multiple statements of this sort (in red):
...is available for use in the Microsoft Windows XP and Windows 2000 operating systems. It may be altered or unavailable in subsequent versions.
MSDN: IEnumPStoreTypes (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devnotes/winprog/ienumpstoretypes.asp)
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
Thanks.
Could you please attach a zipped Pstore.h?