This topic has not yet been rated - Rate this topic

IsThreadpoolTimerSet function

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2008

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

CloseThreadpoolTimer
CreateThreadpoolTimer
SetThreadpoolTimer
Thread Pools
WaitForThreadpoolTimerCallbacks

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ