.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH NtQueryTimer 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBNtQueryTimer\fR (NTDLL.@) .SH SYNOPSIS NTSTATUS NtQueryTimer ( HANDLE \fITimerHandle\fR, TIMER_INFORMATION_CLASS \fITimerInformationClass\fR, PVOID \fITimerInformation\fR, ULONG \fILength\fR, PULONG \fIReturnLength\fR ) .SH DESCRIPTION .PP Retrieves information about a timer. .SH PARAMS \fITimerHandle\fR \fB[In]\fR The timer to retrieve information about. .PP \fITimerInformationClass\fR \fB[In]\fR The type of information to retrieve. .PP \fITimerInformation\fR \fB[Out]\fR Pointer to buffer to store information in. .PP \fILength\fR \fB[In]\fR The length of the buffer pointed to by \fITimerInformation\fR. .PP \fIReturnLength\fR \fB[Out]\fR Optional. The size of buffer actually used. .PP .SH RETURNS .PP \fBSuccess:\fR \fBSTATUS_SUCCESS\fR .PP \fBFailure:\fR \fBSTATUS_INFO_LENGTH_MISMATCH\fR, if \fILength\fR doesn't match the required data size for the class specified. \fBSTATUS_INVALID_INFO_CLASS\fR, if an invalid \fITimerInformationClass\fR was specified. \fBSTATUS_ACCESS_DENIED\fR, if \fITimerHandle\fR does not have \fBTIMER_QUERY_STATE\fR access to the timer. .SH IMPLEMENTATION .PP Declared in \fB"winternl.h"\fR. .PP Implemented in \fB"dlls/ntdll/sync.c"\fR. .PP Debug channel \fB"ntdll"\fR.