다음을 통해 공유


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

Concepts

IOleObjectImpl Class

IOleObjectImpl Members