IsThreadpoolTimerSet function

Determines whether the specified timer object is currently set.

Syntax

BOOL IsThreadpoolTimerSet(
  PTP_TIMER pti
);

Parameters

pti

A TP_TIMER structure that defines the timer object. The CreateThreadpoolTimer function returns this structure.

Return Value

The return value is TRUE if the timer is set; otherwise, the return value is FALSE.

Remarks

To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or higher.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header threadpoolapiset.h (include Windows 7, Windows Server 2008 Windows Server 2008 R2, Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See Also

CloseThreadpoolTimer

CreateThreadpoolTimer

SetThreadpoolTimer

Thread Pools

WaitForThreadpoolTimerCallbacks