IOleObjectImpl::SetHostNames

This method tells the control the container names.

Syntax

HRESULT SetHostNames( LPCOLESTR szContainerApp, LPCOLESTR szContainerObj );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

IOleObjectImpl Overview, IOleObjectImpl Methods, IOleObject::SetHostNames