BWYServerSetClientData Function

Overview

Set custom data to be associated with a specific client.

Declaration

BOOL WINAPI BWYServerSetClientData(HANDLE hClient, LPVOID lpData);

Parameters

  • hClient
    The client handle of the data to be set.
  • lpData
    Custom application specific data which will be associated with the client specified by hClient.

Return Value

Returns TRUE if the function succeeded. Otherwise the return value is FALSE.

Remarks

An application can use this function to set custom data on a per client basis.

This function is not thread safe. It should therefore only be called from one of the various event callback functions. If it is necessary to call this function outside of the eventcall back functions, then you must wrap this function inside BWYServerLockClients and BWYServerUnlockClients.

Windows Requirements

HeaderBWYSystemsServer.h
LibraryBWYSystemsServer.lib
DLLBWYSystemsServer.dll

Linux Requirements

HeaderBWYSystemsServer.h
Shared LibrarylibBWYSystemsServer.so