creating irps

Hi,
I’m using IoBuildSynchronousFsdRequest to create an
irp.

  1. Can the event, iostatusblock be local variables or
    do they have to be allocated from a heap?

  2. Can I use this function in driverentry to read data
    from a different device.

Rajeev


Everything you always wanted to know about cars and bikes,now
at: http://in.autos.yahoo.com/cricket/tracker.html

  1. as long as you wait for the IRP to complete you can put the
    IoStatusBlock on your stack. If you don’t wait then the I/O system will
    probably corrupt the stack of something else running on that thread when
    the request does complete.

  2. yep.

-p

-----Original Message-----
From: Rajeev Rao [mailto:xxxxx@yahoo.co.in]
Sent: Friday, May 17, 2002 3:32 AM
To: NT Developers Interest List
Subject: [ntdev] creating irps

Hi,
I’m using IoBuildSynchronousFsdRequest to create an
irp.

  1. Can the event, iostatusblock be local variables or
    do they have to be allocated from a heap?

  2. Can I use this function in driverentry to read data
    from a different device.

Rajeev


Everything you always wanted to know about cars and bikes,now
at: http://in.autos.yahoo.com/cricket/tracker.html


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%