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
| Header | BWYSystemsServer.h |
| Library | BWYSystemsServer.lib |
| DLL | BWYSystemsServer.dll |
Linux Requirements
| Header | BWYSystemsServer.h |
| Shared Library | libBWYSystemsServer.so |