pythoncom.CoCreateFreeThreadedMarshaler

PyIUnknown = CoCreateFreeThreadedMarshaler(unk)

Creates an aggregatable object capable of context-dependent marshaling.

Parameters

unk : PyIUnknown

The unknown object to marshal.