NtQueryTimer.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

NtQueryTimer (NTDLL.@)

SYNOPSIS

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

DESCRIPTION

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

Defined in "winternl.h".

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

Debug channel "ntdll".