DriverExtension = DeviceExtension->DriverExtension;
/* Translate the IRP to a VRP */
- vrp = ExAllocatePool(NonPagedPool, sizeof(VIDEO_REQUEST_PACKET));
+ vrp = ExAllocatePoolWithTag(NonPagedPool,
+ sizeof(VIDEO_REQUEST_PACKET),
+ TAG_REQUEST_PACKET);
if (NULL == vrp)
{
return STATUS_NO_MEMORY;
vrp);
/* Free the VRP */
- ExFreePool(vrp);
+ ExFreePoolWithTag(vrp, TAG_REQUEST_PACKET);
INFO_(VIDEOPRT, "- Returned status: %x\n", Irp->IoStatus.Status);
IN PIRP Irp)
{
PVIDEO_PORT_COMMON_EXTENSION CommonExtension = DeviceObject->DeviceExtension;
-
+
if (CommonExtension->Fdo)
return IntVideoPortDispatchFdoPnp(DeviceObject, Irp);
else