Setting the Host Name

The host calls IOleObject::SetHostNames to inform the ActiveX designer of its name and the name of the container document. Although OLE requires that all objects implement this method, most ActiveX designers have no need for the information and can simply return E_NOTIMPL.