[KS]
[reactos.git] / reactos / drivers / ksfilter / ks / topology.c
index 3c3ee31..87eb1e9 100644 (file)
@@ -159,7 +159,9 @@ KsTopologyPropertyHandler(
     HANDLE hKey;
     PKEY_VALUE_PARTIAL_INFORMATION KeyInfo;
 
-    DPRINT("KsTopologyPropertyHandler Irp %p Property %p Data %p Topology %p\n", Irp, Property, Data, Topology);
+    IoStack = IoGetCurrentIrpStackLocation(Irp);
+
+    DPRINT("KsTopologyPropertyHandler Irp %p Property %p Data %p Topology %p OutputLength %lu PropertyId %lu\n", Irp, Property, Data, Topology, IoStack->Parameters.DeviceIoControl.OutputBufferLength, Property->Id);
 
     if (Property->Flags != KSPROPERTY_TYPE_GET)
     {
@@ -168,8 +170,6 @@ KsTopologyPropertyHandler(
         return STATUS_NOT_IMPLEMENTED;
     }
 
-    IoStack = IoGetCurrentIrpStackLocation(Irp);
-
     switch(Property->Id)
     {
         case KSPROPERTY_TOPOLOGY_CATEGORIES: