Re: Supplemental Device Queues with Ke Insert/Remove DeviceQueue..

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Vasu S (VasuS_at_discussions.microsoft.com)
Date: 01/16/05


Date: Sun, 16 Jan 2005 10:53:02 -0800

Thanks for the reply! But, I dont want to use the queue for IRP queueing. I
want it for queueing custom structures. Can I use the Device Queue functions
functions for that?

Thanks,
Vasu.

"Don Burn" wrote:

> I would use the IoCsq routines instead, and sort on the context yourself in
> the CsqInsertIrpEx. Queing IRP without dealing with Cancel safety is a bad
> idea.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
> "Vasu S" <VasuS@discussions.microsoft.com> wrote in message
> news:D42482CB-FEF1-4E69-ABBA-EB92B82388B6@microsoft.com...
> > Hi,
> >
> > The DDK lists the Ke [Initialize/Insert/Remove] DeviceQueue functions as
> set
> > of functions to use for queueing IRPs. Can these functions be used for any
> > generic functionality also or should they be strictly used for IRPs only?
> >
> > I've a need for a sorted queue that only these functions provide. Other
> > drive-managed queue functions dont allow me to insert in a sorted fashion.
> >
> > Any inputs are appreciated.
> >
> > Thanks,
> > Vasu.
>
>
>



Relevant Pages