SetVoteResultCallback Function

Sets an advanced vote handling callback. If this callback is set, MenuAction_VoteEnd will not be called.

void SetVoteResultCallback(Handle menu, VoteHandler callback)

Parameters

Handle menu

Menu Handle.

VoteHandler callback

Callback function.

Errors

Invalid Handle or callback.