pythoncom.OleLoadFromStream

OleLoadFromStream(stream, iid)

Load an object from an IStream.

Parameters

stream : PyIStream

The stream to load the object from.

iid : PyIID

The IID if the interface to load.