pythoncom.CoRegisterClassObject
int = CoRegisterClassObject(iid, factory , context , flags )
Registers an EXE class object with OLE so other applications can connect to it.
Parameters
Comments
The class factory object should be PyIClassFactory object, but as per the COM documentation, only PyIUnknown is checked.
Return Value
The result is a handle which should be revoked using pythoncom::CoRevokeClassObject