Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 only]

Minimum supported server

Windows Server 2008 [desktop apps only]

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

 

 

Community Additions

Show:
© 2015 Microsoft