IsThreadpoolTimerSet function

Determines whether the specified timer object is currently set.

Syntax


BOOL WINAPI IsThreadpoolTimerSet(
  _Inout_ PTP_TIMER pti
);

Parameters

pti [in, out]

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

WinBase.h on Windows Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2 (include Windows.h);
Threadpoolapiset.h on Windows 8 and Windows Server 2012

Library

Kernel32.lib

DLL

Kernel32.dll

See also

CloseThreadpoolTimer
CreateThreadpoolTimer
SetThreadpoolTimer
Thread Pools
WaitForThreadpoolTimerCallbacks

 

 

Show: