ClearBox Server v1.2 Developer's Guide |
IServer::IsServerRegisteredDefines whether this copy of ClearBox Server is registered or not. HRESULT IsServerRegistered( [out] BSTR * regName); Parameters
Return ValuesS_OK if server is registered, S_FALSE otherwise. Thread SafetyThis method can be called from any thread. Memory ManagementServer may allocate memory for regName parameter, and then it must be freed by server extension. Example CodeThis code uses m_pServer as IServer interface pointer stored in ICommonExtenderEx::InitializeEx implementation. BSTR regName=NULL; HRESULT hRes=m_pServer->IsServerRegistered(®Name); if (hRes==S_OK) { // use regName SysFreeString(regName); } See Also© 2001-2003 XPerience Technologies. www.xperiencetech.com |
Created by chm2web html help conversion utility. |