Lines Matching defs:pDevRelations
794 PDEVICE_RELATIONS pDevRelations = NULL;
796 NTSTATUS Status = VBoxUsbMonQueryBusRelations(pTopDo, pFile, &pDevRelations);
797 if (Status == STATUS_SUCCESS && pDevRelations)
799 ULONG cReplugPdos = pDevRelations->Count;
802 for (ULONG k = 0; k < pDevRelations->Count; ++k)
804 PDEVICE_OBJECT pDevObj = pDevRelations->Objects[k];
828 pDevRelations->Objects[k] = NULL;
866 pDevRelations->Objects[k] = NULL;
875 for (ULONG k = 0; k < pDevRelations->Count; ++k)
877 if (!pDevRelations->Objects[k])
880 Status = vboxUsbFltPdoReplug(pDevRelations->Objects[k]);
882 ObDereferenceObject(pDevRelations->Objects[k]);
892 ExFreePool(pDevRelations);
896 WARN(("VBoxUsbMonQueryBusRelations failed for DO(0x%p), Status(0x%x), pDevRelations(0x%p)",
897 pTopDo, Status, pDevRelations));