|ClearBox Server v1.2 Developer's Guide|
Called once when server initialize or uninitialize the extension. It is the first and the last method called from the server extension.
HRESULT InitializeEx( [in] VARIANT_BOOL start, [in] IServer * pServer);
If extension returns error code and start=VARIANT_TRUE, server fails to start.
This method is called in context of MAIN thread. (See Server Threads Model for details.) No synchronization is needed as for this method.
Extension may use this method to allocate and initialize required resources and free them at shutdown.
It it not necessary to call AddRef and Realease on the pServer pointer as it is static object managed by the server.
© 2001-2003 XPerience Technologies. www.xperiencetech.com
|Created by chm2web html help conversion utility.|