70 CHAR FileAndLine[128];
80 "Padding is 0x%lx\n", (&
Iterator.Stamp)[1]);
83 for (
i = 0;
i < NumRanges;
i++)
90 KmtOk(
Iterator.RangeListHead == &RangeList->ListHead, FileAndLine,
91 "[%lu] Iterator.RangeListHead = %p, expected %p\n",
i,
Iterator.RangeListHead, &RangeList->ListHead);
93 "[%lu] Iterator.MergedHead = %p\n",
i,
Iterator.MergedHead);
95 "[%lu] Iterator.Current = %p, expected %p\n",
i,
Iterator.Current,
Range);
97 "[%lu] Iterator.Stamp = %lu, expected %lu\n",
i,
Iterator.Stamp, RangeList->Stamp);
106 "Status = 0x%lx after enumeration\n",
Status);
108 "[%lu] Range = %p\n",
i,
Range);
109 KmtOk(
Iterator.RangeListHead == &RangeList->ListHead, FileAndLine,
110 "[%lu] Iterator.RangeListHead = %p, expected %p\n",
i,
Iterator.RangeListHead, &RangeList->ListHead);
112 "[%lu] Iterator.MergedHead = %p\n",
i,
Iterator.MergedHead);
114 "[%lu] Iterator.Current = %p\n",
i,
Iterator.Current);
116 "[%lu] Iterator.Stamp = %lu, expected %lu\n",
i,
Iterator.Stamp, RangeList->Stamp);
122 "Status = 0x%lx after enumeration\n",
Status);
124 "[%lu] Range = %p\n",
i,
Range);
125 KmtOk(
Iterator.RangeListHead == &RangeList->ListHead, FileAndLine,
126 "[%lu] Iterator.RangeListHead = %p, expected %p\n",
i,
Iterator.RangeListHead, &RangeList->ListHead);
128 "[%lu] Iterator.MergedHead = %p\n",
i,
Iterator.MergedHead);
130 "[%lu] Iterator.Current = %p\n",
i,
Iterator.Current);
132 "[%lu] Iterator.Stamp = %lu, expected %lu\n",
i,
Iterator.Stamp, RangeList->Stamp);
#define KmtInvalidPointer
static void ExpectRange(_In_ PCSTR File, _In_ INT Line, _In_ ULONG Index, _In_ const RTL_RANGE *ActualRange, _In_ const RTL_RANGE *ExpectedRange)
#define STATUS_NO_MORE_ENTRIES
BOOLEAN BOOLEAN VOID VOID BOOLEAN BOOLEAN KmtSkip(INT Condition, PCSTR FileAndLine, PCSTR Format,...) KMT_FORMAT(ms_printf
BOOLEAN BOOLEAN KmtOk(INT Condition, PCSTR FileAndLine, PCSTR Format,...) KMT_FORMAT(ms_printf
NTSTRSAFEVAPI RtlStringCbPrintfA(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PSTR pszDest, _In_ size_t cbDest, _In_ _Printf_format_string_ NTSTRSAFE_PCSTR pszFormat,...)
#define NT_SUCCESS(StatCode)
#define RtlFillMemory(Dest, Length, Fill)
_In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR Iterator
#define RTL_SIZEOF_THROUGH_FIELD(type, field)
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
NTSYSAPI NTSTATUS NTAPI RtlGetNextRange(_Inout_ PRTL_RANGE_LIST_ITERATOR Iterator, _Outptr_ PRTL_RANGE *Range, _In_ BOOLEAN MoveForwards)
NTSYSAPI NTSTATUS NTAPI RtlGetFirstRange(_In_ PRTL_RANGE_LIST RangeList, _Out_ PRTL_RANGE_LIST_ITERATOR Iterator, _Outptr_ PRTL_RANGE *Range)