pythoncom.RegisterActiveObject

int = RegisterActiveObject(obUnknown, clsid , flags )

Register an object as the active object for its class

Parameters

obUnknown : PyIUnknown

The object to register.

clsid : PyIID

The CLSID for the object

flags : int

Flags to use.

Return Value

The result is a handle which should be pass to pythoncom::RevokeActiveObject