30{
31 struct
32 {
37 {
38 {
41 {
42 0x0100,
43 0xFFFFFFFF,
44 0,
45 65507,
61 1,
62 65535,
63 0,
64 {{0}}
65 }
66 },
67 {
70 {
71 0x0100,
72 0xFFFFFFFF,
73 0,
74 65507,
90 1,
91 65535,
92 0,
93 {{0}}
94 }
95 },
96 {
99 },
100 {
103 {
104 0x0100,
105 0xFFFFFFFF,
106 0,
107 65507,
123 1,
124 65535,
125 0,
126 {{0}}
127 }
128 },
129 {
132 },
133 };
135
137 {
148
150
157
162 &StatusBlock,
167 0,
169 0);
172 continue;
173
183 return;
184
188 {
190 return;
191 }
192
194 ok(ProviderInfo !=
NULL,
"Ran out of memory.\n");
195 if (!ProviderInfo)
196 {
198 return;
199 }
200
202 ok(
Mdl !=
NULL,
"Could not allocate the MDL!\n");
204 {
207 return;
208 }
209
211
212
215 ok(
Irp !=
NULL,
"TdiBuildInternalDeviceControlIrp returned NULL!\n");
217 {
221 return;
222 }
223
232
234
237 {
245 }
247
251
253 {
255 continue;
256 }
257
266
268 }
269}
#define ok_eq_hex(value, expected)
#define ok_eq_ulong(value, expected)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define STATUS_NOT_IMPLEMENTED
#define NT_SUCCESS(StatCode)
#define FILE_ATTRIBUTE_NORMAL
#define ExAllocatePoolWithTag(hernya, size, tag)
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
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
#define OBJ_KERNEL_HANDLE
#define OBJ_CASE_INSENSITIVE
POBJECT_TYPE IoFileObjectType
#define IoSetCompletionRoutine(_Irp, _CompletionRoutine, _Context, _InvokeOnSuccess, _InvokeOnError, _InvokeOnCancel)
VOID NTAPI MmBuildMdlForNonPagedPool(IN PMDL Mdl)
#define ExFreePoolWithTag(_P, _T)
static NTSTATUS NTAPI IrpCompletionRoutine(_In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp, _In_ PVOID Context)
#define InitializeObjectAttributes(p, n, a, r, s)
PDEVICE_OBJECT NTAPI IoGetRelatedDeviceObject(IN PFILE_OBJECT FileObject)
PIRP NTAPI IoAllocateIrp(IN CCHAR StackSize, IN BOOLEAN ChargeQuota)
VOID NTAPI IoFreeIrp(IN PIRP Irp)
NTSTATUS NTAPI ObReferenceObjectByHandle(IN HANDLE Handle, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PVOID *Object, OUT POBJECT_HANDLE_INFORMATION HandleInformation OPTIONAL)
ULONG MaxConnectionUserData
ULONG MaximumLookaheadData
ULONG MinimumLookaheadData
#define TDI_SERVICE_DGRAM_CONNECTION
#define TDI_SERVICE_CONNECTIONLESS_MODE
#define TDI_SERVICE_SEND_AND_DISCONNECT
#define TDI_SERVICE_EXPEDITED_DATA
#define TDI_SERVICE_PREPOST_RECVS
#define TDI_SERVICE_ORDERLY_RELEASE
#define TDI_SERVICE_ERROR_FREE_DELIVERY
#define TDI_SERVICE_FORCE_ACCESS_CHECK
#define TDI_SERVICE_ADDRESS_SECURITY
#define TDI_SERVICE_DELAYED_ACCEPTANCE
#define TDI_SERVICE_NO_PUSH
#define TDI_QUERY_PROVIDER_INFO
#define TDI_SERVICE_CONNECTION_MODE
#define TDI_SERVICE_NO_ZERO_LENGTH
#define TDI_SERVICE_ACCEPT_LOCAL_ADDR
#define TDI_SERVICE_BROADCAST_SUPPORTED
#define TdiBuildQueryInformation( Irp, DevObj, FileObj, CompRoutine, Contxt, QType, MdlAddr)
#define RTL_CONSTANT_STRING(s)
#define STATUS_INVALID_PARAMETER
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
#define ObDereferenceObject