pythoncom.CoMarshalInterface

CoMarshalInterface(Stm, riid, Unk, DestContext, flags)

Marshals an interface into a stream

Parameters

Stm : PyIStream

An IStream interface into which marshalled interface will be written

riid : PyIID

IID of interface to be marshalled

Unk : PyIUnknown

Base IUnknown of the object to be marshalled

DestContext : int

MSHCTX_* flag indicating where object will be unmarshalled

flags=MSHLFLAGS_NORMAL : int

MSHLFLAGS_* flag indicating marshalling options