shell.SHGetViewStatePropertyBag

PyIPropertyBag = SHGetViewStatePropertyBag(pidl, BagName , Flags , riid )

Retrieves an interface for the view state of a folder

Parameters

pidl : PyIDL

An item id list that identifies the folder

BagName : PyUnicode

Name of the property bag to retrieve

Flags : int

Combination of SHGVSPB_* flags

riid : PyIID

The interface to return, usually IID_IPropertyBag

Comments

This function will also return IPropertyBag2, but we don't have a python implementation of this interface yet