#ifdef _MSC_VER
#pragma once
#endif // _MSC_VER
#ifndef _MMISCAPI2_H_
#define _MMISCAPI2_H_
#include <apiset.h>
#include <apisetcconv.h>
#include <mmsyscom.h> // mm common definitions
#ifdef __cplusplus
extern
"C"
{
#endif
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
typedef void (CALLBACK TIMECALLBACK)(UINT uTimerID, UINT uMsg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2);
typedef
void
(
__stdcall
)(
uTimerID,
uMsg,
dwUser,
dw1,
dw2);
typedef TIMECALLBACK FAR *LPTIMECALLBACK;
#define TIME_ONESHOT 0x0000 /* program timer for single event */
#define TIME_PERIODIC 0x0001 /* program for continuous periodic event */
#ifdef _WIN32
#define TIME_CALLBACK_FUNCTION 0x0000 /* callback is function */
#define TIME_CALLBACK_EVENT_SET 0x0010 /* callback is event - use SetEvent */
#define TIME_CALLBACK_EVENT_PULSE 0x0020 /* callback is event - use PulseEvent */
#endif
#if WINVER >= 0x0501
#define TIME_KILL_SYNCHRONOUS 0x0100 /* This flag prevents the event from occurring */
#endif // WINVER >= 0x0501
(
_In_ LPTIMECALLBACK fptc,
);
(
);
#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif // _MMISCAPI2_H_