

You must bundle this executable with your Server you can find it in the /libs/ directory. Specifies the screen capture method used by the Server.Ĭreates a VNC-compatible Server app for a computer you want to control.Ĭapturing the device screen and injecting input is handled by vncagent, an executable provided with the SDK. Vnc_Server_setCaptureMethod( vnc_Server *server, vnc_Server_CaptureMethod captureMethod) Sets input control related callbacks for the Server. Vnc_Server_setInputEventsCallback( vnc_Server *server, const vnc_Server_InputEventsCallback *callback, void *userData) Gets the current number of seconds to wait before disconnecting idle Viewers.

Vnc_Server_getIdleTimeout( vnc_Server *server) Sets the number of seconds to wait before disconnecting idle Viewers. Vnc_Server_setIdleTimeout( vnc_Server *server, int idleTimeout) Returns the encryption level being used with an incoming connection, or the Server’s current encryption level if the connection is NULL. Vnc_Server_getEncryptionLevel( vnc_Server *server, vnc_Connection *connection) Sets the desired encryption level of the session from the range of options enumerated by vnc_Server_EncryptionLevel. Vnc_Server_setEncryptionLevel( vnc_Server *server, vnc_Server_EncryptionLevel level) Obtains the Server’s vnc_DisplayManager, for managing the list of displays made available by the Server and for setting the Server’s capture method. Vnc_Server_getDisplayManager( vnc_Server *server) Obtains the Server’s vnc_MessagingManager for handling messaging. Vnc_Server_getMessagingManager( vnc_Server *server) Obtains the Server’s vnc_AnnotationManager for handling annotation operations. Vnc_Server_getAnnotationManager( vnc_Server *server) Vnc_Server_enableAudio( vnc_Server *server, vnc_bool_t enable)Įnables transmission of audio from the Server to the Viewer. Vnc_Server_serviceControlHandlerEx( vnc_Server *server, int dwControl, int dwEventType, void *lpEventData) Specifies a blacklist threshold and timeout for the Server. Vnc_Server_setBlacklist( vnc_Server *server, int threshold, int timeout) Vnc_Server_disconnectAll( vnc_Server *server, const char *message, int flags)ĭisconnects all Viewers, optionally specifying a message. Vnc_Server_disconnect( vnc_Server *server, vnc_Connection *connection, const char *message, int flags)ĭisconnects a particular Viewer, optionally specifying a message. Returns the address of a particular connected Viewer. Vnc_Server_getPeerAddress( vnc_Server *server, vnc_Connection *connection) Obtains the Server’s vnc_ConnectionHandler for performing connection operations. Vnc_Server_getConnectionHandler( vnc_Server *server) Specifies a friendly name for the Server, to send to connected Viewers. Vnc_Server_setFriendlyName( vnc_Server *server, const char *name) Vnc_Server_isAgentReady( vnc_Server *server)ĭetermines if the vncagent process is ready and available to capture the display and inject input events. Sets agent-related callbacks for the Server. Vnc_Server_setAgentCallback( vnc_Server *server, const vnc_Server_AgentCallback *callback, void *userData) Gets the set of current permissions for a Viewer. Vnc_Server_getPermissions( vnc_Server *server, vnc_Connection *connection) Vnc_Server_setPermissions( vnc_Server *server, vnc_Connection *connection, int perms)Ĭhanges permissions for a Viewer mid-session. Sets security-related callbacks for the Server. Vnc_Server_setSecurit圜allback( vnc_Server *server, const vnc_Server_Securit圜allback *callback, void *userData)

Returns the total number of Viewers currently connected to the Server. Vnc_Server_getConnectionCount( vnc_Server *server) Sets connection-related callbacks for the Server. Vnc_Server_setConnectionCallback( vnc_Server *server, const vnc_Server_ConnectionCallback *callback, void *userData) Vnc_Server_createService(const char *agentPath) (more.)Ĭallback receiving connection-related notifications for a Server.Ĭallback receiving security-related notifications for a Server.Ĭallback receiving agent-related notifications for a Server.Įnumeration of session permissions that can be granted to a connecting Viewer. Creates a VNC-compatible Server app for a computer you want to control.
