Condividi tramite


LPTIMECALLBACK function pointer

Application-defined callback function for the timeSetEvent function.

Syntax

typedef void ( CALLBACK *LPTIMECALLBACK)(
   UINT      uTimerID,
   UINT      uMsg,
   DWORD_PTR dwUser,
   DWORD_PTR dw1,
   DWORD_PTR dw2
);

Parameters

  • uTimerID
    The identifier of the timer. The identifier is returned by the timeSetEvent function.

  • uMsg
    Reserved.

  • dwUser
    The value that was specified for the dwUser parameter of the timeSetEvent function.

  • dw1
    Reserved.

  • dw2
    Reserved.

Return value

This function pointer does not return a value.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mmsystem.h (include Windows.h)

See also

Multimedia Timers

Multimedia Timer Functions

timeSetEvent