Sambar Server Documentation

sa_serverx


Purpose

Start the Sambar Server.

Syntax

sa_serverx (hWnd, build);

SA_VOID *hWnd;
SA_BOOL build;

Parameters

hWnd Window handle of the window to post a WM_DESTROY message to when the server is shutdown. This argument may be NULL.
build A boolean indicating whether to configuration and log files/directories should be created if they are not found.

Returns

SA_SUCCEED if the function is successful; SA_FAIL otherwise.

Comments

This function is designed to be called as part of a thread of execution. See the winmain.c sample application.

See Also

sa_server, sa_shutdown

© 1998 Sambar Technologies. All rights reserved. Terms of Use.