Hi,
Is it possible to complete 2 IRPs in one dispatch function?
If I receive a specific IOCTL in the driver, can I first mark it pending,
and then return data for it in the dispatch function for read. I plan to
save the original IRP in an array (or custom queue) and then in the
dispatch function for read, call IoCompleteRequest for both the saved IRP
as well as the current one and return STATUS_SUCCESS?
Also can these 2 IRPs be from different user processes?
Thanks in advance,
Jagannath
Sure, why not.
-htfv
----- Original Message -----
From: “Jagannath Krishnan”
To: “File Systems Developers”
Sent: Friday, September 27, 2002 2:13 AM
Subject: [ntfsd] Handling multiple IRPs in 1 dispatch function?
> Hi,
> Is it possible to complete 2 IRPs in one dispatch function?
>
> If I receive a specific IOCTL in the driver, can I first mark it pending,
> and then return data for it in the dispatch function for read. I plan to
> save the original IRP in an array (or custom queue) and then in the
> dispatch function for read, call IoCompleteRequest for both the saved IRP
> as well as the current one and return STATUS_SUCCESS?
>
> Also can these 2 IRPs be from different user processes?
>
> Thanks in advance,
> Jagannath
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>