Sets the "host names" to be given to objects as they are inserted to a rich edit control. The host names are used in the user interface of servers to describe the container context of opened objects.
HRESULT SetHostNames(
LPCSTR lpstrContainerApp, | |
LPCSTR lpstrContainerObj | |
); |
Parameters
szContainerApp
Null-terminated name of the container application.
szContainerObj
Null-terminated name of the container document or object.
Return Values
Returns success status. Use GetScode to retrieve an scode. Can be S_OK on success or E_OUTOFMEMORY if memory could not be allocated to remember the strings.
See Also