IOleObjectImpl::SetHostNames

Tells the control the names of the container application and container document.

STDMETHOD(SetHostNames)( 
   LPCOLESTR /* szContainerApp */, 
   LPCOLESTR /* szContainerObj */ 
);

Return Value

Returns S_OK.

Remarks

See IOleObject::SetHostNames in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class