TimerChangeUserdata
Changes user data values for a timer.
Synopsis
Err TimerChangeUserdata (TimerHandle thandle, uint32 userdata1, uint32 userdata2)
Description
Changes the user data associated with a timer. The user data is delivered to you as part of the notification message for message-based timers. The user data is not meaningful for signal-based timers.
Arguments
- thandle
- Handle for a timer created by one of the TimerMsg or TimerSignal functions.
- userdata1
- Value passed back to you in the msg_DataPtr field of the notification message.
- userdata2
- Value passed back to you in the msg_DataSize field of the notification message.
Return Value
Zero on success or a negative error code.
Implementation
Library call implemented in lib3do.lib.
Associated Files
lib3do.lib, timerutils.h