NtQueryTimer(3w)

NtQueryTimer3w

Usage

NTSTATUS NtQueryTimer
(
HANDLE TimerHandle,
TIMER_INFORMATION_CLASS TimerInformationClass,
PVOID TimerInformation,
ULONG Length,
PULONG ReturnLength
)

Overview

Retrieves information about a timer.

Params

TimerHandle [In] The timer to retrieve information about.

TimerInformationClass [In] The type of information to retrieve.

TimerInformation [Out] Pointer to buffer to store information in.

Length [In] The length of the buffer pointed to by TimerInformation.

ReturnLength [Out] Optional. The size of buffer actually used.

Returns

Success: STATUS_SUCCESS

Failure: STATUS_INFO_LENGTH_MISMATCH, if Length doesn't match the required data size for the class specified. STATUS_INVALID_INFO_CLASS, if an invalid TimerInformationClass was specified. STATUS_ACCESS_DENIED, if TimerHandle does not have TIMER_QUERY_STATE access to the timer.

Implementation

Declared in "winternl.h".

Implemented in "dlls/ntdll/sync.c".

Debug channel "ntdll".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.