PSGetItemPropertyHandler (propsys)
Last changed: anonymous

.
Summary
TODO - a short description

C# Signature:

[DllImport("Propsys.dll")]
static extern int PSGetItemPropertyHandler(IShellItem punkItem, bool fReadWrite, ref Guid riid, out IPropertyStore ppv);

User-Defined Types:

IShellItem, IPropertyStore

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

public static IPropertyStore GetPropertyStoreFromShellItem(IShellItem shellitem, bool fReadWrite)
{
     IPropertyStore result = null;
     Guid iPropStoreGuid = new Guid("886d8eeb-8cf2-4446-8d02-cdba1dbdcf99");
     int hr = PSGetItemPropertyHandler(shellitem, fReadWrite, ref iPropStoreGuid, out result);    

     return result;
}

Documentation