Sambar Server Documentation

sa_server


Purpose

Start the Sambar Server.

Syntax

sa_server (hWnd);

SA_VOID *hWnd;

Parameters

hWnd Window handle of the window to post a WM_DESTROY message to when the server is shutdown. This argument may be NULL.

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_serverx, sa_shutdown

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