264{
269
270
272
273
275
276
279
280
282
283
286
288 {
289
292
294 {
295
298 }
299
300
302
304
305
307 if (!NewDataFormat)
308 {
309
311 }
312
313
315
316
317 Status =
Pin->m_Stream->SetFormat(NewDataFormat);
319 {
320
322
323
324 Pin->m_Format = NewDataFormat;
326
327#if 0
332
333
337#endif
338
339 }
340 else
341 {
342
344 }
345
346
347
349 }
351 {
352
354
355 if (
Pin->m_Format->FormatSize > IoStack->
Parameters.DeviceIoControl.OutputBufferLength)
356 {
357
358 Irp->IoStatus.Information =
Pin->m_Format->FormatSize;
360 }
361
363
364 Irp->IoStatus.Information =
Pin->m_Format->FormatSize;
365
366
368 }
369
370
372}
KSDATAFORMAT * PKSDATAFORMAT
#define NT_SUCCESS(StatCode)
#define KSPROPERTY_TYPE_SET
#define RtlCompareMemory(s1, s2, l)
#define KeGetCurrentIrql()
PVOID AllocateItem(IN POOL_TYPE PoolType, IN SIZE_T NumberOfBytes)
VOID FreeItem(IN PVOID Item)
struct _NAMED_PIPE_CREATE_PARAMETERS * Parameters
#define STATUS_UNSUCCESSFUL
#define STATUS_MORE_ENTRIES
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
#define IsEqualGUIDAligned(guid1, guid2)
__drv_aliasesMem FORCEINLINE PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(_In_ PIRP Irp)