Go to the source code of this file.
◆ CheckTimer
Value:do \
{ \
ok_eq_hex((
Timer)->
Header.Lock & 0xFF00FF00L, 0x00005500L); \
for (TheIndex = 0; TheIndex < (ThreadCount); ++TheIndex) \
{ \
WaitBlock[0].WaitListEntry); \
ok_eq_pointer(TheThread, (ThreadList)[TheIndex]); \
ok_eq_pointer(TheEntry->
Flink->Blink, TheEntry); \
TheEntry = TheEntry->
Flink; \
} \
ok_eq_pointer(TheEntry, &(
Timer)->
Header.WaitListHead); \
ok_eq_pointer(TheEntry->
Flink->Blink, TheEntry); \
ok_eq_bool(
Thread->WaitNext, ExpectedWaitNext); \
} while (0)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
struct _LIST_ENTRY * Flink
BOOLEAN NTAPI KeReadStateTimer(IN PKTIMER Timer)
#define CONTAINING_RECORD(address, type, field)
Definition at line 10 of file KeTimer.c.
◆ START_TEST()
Definition at line 50 of file KeTimer.c.
51{
56
57 for (
i = 0;
i <
sizeof Irqls /
sizeof Irqls[0]; ++
i)
58 {
59
61 return;
66 }
67
70}
static VOID TestTimerFunctional(IN PKTIMER Timer, IN TIMER_TYPE Type, IN KIRQL OriginalIrql)
#define KeRaiseIrql(irql, oldIrql)
#define KeLowerIrql(oldIrql)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID KmtSetIrql(IN KIRQL NewIrql)
BOOLEAN KmtIsCheckedBuild
◆ TestTimerFunctional()
Definition at line 38 of file KeTimer.c.
42{
44
48}
#define CheckTimer(Timer, ExpectedType, State, ExpectedWaitNext, Irql, ThreadList, ThreadCount)
#define KeGetCurrentThread
@ TimerNotificationObject
VOID NTAPI KeInitializeTimerEx(OUT PKTIMER Timer, IN TIMER_TYPE Type)
Referenced by START_TEST().