AcceptData Property
Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection.
Syntax
ANSI (Cross Platform) int GetAcceptData(int iConnectionId);
int SetAcceptData(int iConnectionId, int bAcceptData); Unicode (Windows) BOOL GetAcceptData(INT iConnectionId);
INT SetAcceptData(INT iConnectionId, BOOL bAcceptData);
#define PID_BTDAEMON_ACCEPTDATA 3 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
TRUE
Remarks
Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection. Setting this to True, re-enables data reception.
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
Boolean