PyIUnknown = CoCreateInstanceEx(clsid, unkOuter , context , serverInfo , iids )

Create a new instance of an OLE automation server possibly on a remote machine.


clsid : PyIID

Class identifier (CLSID) of the object

unkOuter : PyIUnknown

The outer unknown, or None

context : int

The create context for the object, combination of pythoncom.CLSCTX_* flags

serverInfo : (server, authino=None, reserved1=0,reserved2=0)

May be None, or describes the remote server to execute on.

iids : [PyIID, ...]

A list of IIDs required from the object