How to find IE7 low integrity write locations?

Hi,

when IE7 is in protected mode you have only permission to write to low integrity folder locations. The document "Understanding and Working in Protected Mode Internet Explorer"http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ProtectedMode.asp is mentioning the shell function "SHGetKnownFolderPath".

SHGetKnownFolderPath(FOLDERID_LocalAppDataLow, 0, NULL, szPath, ARRAYSIZE(szPath));

Unfortunately i can't get this function to work.

Does somebody have a C++ sample code how to apply this function in order to retrieve the low integrity write location?

Thank you very much

M.

[922 byte] By [M-Force] at [2007-12-24]

Software Development for Windows Vista

Site Classified