◄COleServerDoc► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation OLE Classes────────────────────────────────────────── protected: virtual OLESTATUS OnSetHostNames( const char FAR* <lpszHost>, const char FAR* <lpszHostObj> ); Parameter Description <lpszHost> A null-terminated string that specifies the name of the client application. <lpszHostObj> A null-terminated string that specifies the client's name for the document. Remarks This callback function is called when the client sets or changes the host names for this item. Override this function if you need to save these names. Return Value See the ◄COleException► class for a list of return values. The value OLE_OK indicates that the function operated correctly. See Also ◄COleClientItem::SetHostNames► -♦-