The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Ghirai on March 29, 2005, 12:28:58 PM

Title: Protected Storage Question
Post by: Ghirai on March 29, 2005, 12:28:58 PM
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.
Title: Re: Protected Storage Question
Post by: MichaelW on March 29, 2005, 01:49:26 PM
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/

Title: Re: Protected Storage Question
Post by: Ghirai on March 29, 2005, 03:17:27 PM
Thanks.

Could you please attach a zipped Pstore.h?