UserData Property
The UserData property holds connection specific user specified data.
Syntax
ANSI (Cross Platform) int GetUserData(int iConnectionId, char* &lpUserData, int &lenUserData);
int SetUserData(int iConnectionId, const char* lpUserData, int lenUserData); Unicode (Windows) INT GetUserData(INT iConnectionId, LPSTR &lpUserData, INT &lenUserData);
INT SetUserData(INT iConnectionId, LPCSTR lpUserData, INT lenUserData);
#define PID_BTDAEMON_USERDATA 17 IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_BTDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTDaemon_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTDaemon_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The UserData property holds connection specific user specified data.
User specified data may be set or retrieved at any point while the connection is valid. This provides a simple way to associate arbitrary data with a specific connection.
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the ConnectionCount property.
This property is not available at design time.
Data Type
Binary String