axcontrol.OleCreate

PyIOleObject = OleCreate(clsid, clsid , obCLSID , obIID , renderopt , obFormatEtc , obOleClientSite , obStorage )

Creates a new embedded object identified by a CLSID.

Parameters

clsid : IID

A CLSID in string or native format

clsid : IID

A IID in string or native format

obCLSID : PyIID

The PyIID CLSID for the OLE object to create.

obIID : PyIID

The PyIID for the interface to return.

renderopt : DWORD

The DWORD renderopt for redering the Display.

obFormatEtc : FORMATETC

The FORMATETC structure.

obOleClientSite : PyIOleClientSite

The PyIOleClientSite interface to the container.

obStorage : PyIStorage

The PyIStorage interface.