hello
I’m quite beginner level driver development system.
question:
If I create a PIRP with Ioallocateirp,
Do I initialize with ExAllocatePool the AssociatedIrp.SystemBuffer ?
How do set the size of SystemBuffer ?
I need allocate a pointer systembuffer from IRP , how do i ?
I wish to create a PIRP with IoallocateIrp and make a IoCompleteRequest on another thread without using the function IoCallDriver knowing that the event function "Completerequest"should be called (IoSetCompletionRoutine).
IoSetCompletionRoutine (irp,
Completerequest,
Event, / / pass object as Context Transfer
TRUE, / / Invoke on Success
TRUE, / / Invoke on Error
TRUE) / / Invoke it Cancel
Conclusion
If I create a PIRP with IoAllocateIrp and I run IoSetCompletionRoutine and IoCompleteRequest without calling IoCallDriver , is what my function CompleteRequest finally calling???
I call a function of my driver internally without going through IoCallDriver function.
Thank you .