PyIShellFolder.BindToStorage

interface = BindToStorage(pidl, pbc , riid )

Returns an interface to a storage object in a shell folder

Parameters

pidl : PyIDL

Relative pidl for the folder item, must be a single item id

pbc : PyIBindCtx

Bind context that affects how binding is performed, can be None

riid : PyIID

IID of the desired interface, one of IID_IStream, IID_IStorage, IID_IPropertySetStorage

Return Value

Returns PyIStream, PyIStorage or PyIPropertySetStorage depending on the riid passed in