Microsoft Chat Server SDK Reference |
---|
At server startup or after installation, extension initialization is performed by this method.
Visual Basic:HRESULT Init(
IChatServer *Server,
IChatRegistrar *Registrar,
long *retVal);
Function IChatExtensionCallBack_Init( _
ByVal Server As CHATSVCLib.IChatServer, _
ByVal Registrar As CHATSVCLib.IChatRegistrar) As Long
Init is called after installation completes and every time the chat service is started. It is the only time that an instance of IChatRegistrar is passed. During this call, it is expected that the extension will maintain a reference the IChatRegistrar object in a global variable. (Extension writers using C or C++ need to call AddRef and Release appropriately.)
A non-zero return value will prevent callbacks from being invoked for this extension (since it has not initialized properly).
© 1998 Microsoft Corporation. All rights reserved.