Can I use IoAllocateIrp() to create an IRP for IRP_MJ_CREATE?
No.
IRP creation is simple, but CREATE also requires a new file object, which you cannot create and setup this simple.
Use ZwCreateFile.
Max
----- Original Message -----
From: “Eric Chan”
To: “File Systems Developers”
Sent: Friday, March 01, 2002 1:14 PM
Subject: [ntfsd] IoAllocateIrp()
> Can I use IoAllocateIrp() to create an IRP for IRP_MJ_CREATE?
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>