Skip to main content
1-Visitor
September 1, 2017
Question

twApi_BindAllForEachHandler TW_FOREACH_EXIT or TW_FOREACH_CONTINUE

  • September 1, 2017
  • 0 replies
  • 950 views

Hi,all .

In twApi_BindAllForEachHandler

is it wrong ? if TW_BIND_MESSAGE_FULL always return true.

if (res == TW_OK || TW_BIND_MESSAGE_FULL) ret = TW_FOREACH_CONTINUE;

change it like this:

==》 if (res == TW_OK || res = TW_BIND_MESSAGE_FULL) ret = TW_FOREACH_CONTINUE;