Resending IRP_MJ_CREATE

Hi, everyone,

I’m trying to find what really happened in IRP_MJ_CREATE if the
options are multiple (i.e. FILE_OPEN_IF etc.).
The action performed is returned in Irp->IoStatus.Information by
local file systems, but LanMan always sets it to 0.
Does anyone know if there is another way to get the performed
action (FILE_OPENED, CREATED, OVERWRITTEN), or how I can resend the Irp
again, if I want to split the call to first try to Open the file, and
then just to Create the file, if open failed.
The reason I ask is the following:
On floppies, STATUS_PENDING is returned for CREATE. This always
makes the system bug check for some reason. I am waiting in the dispatch
for the completion routine to set the event, and then I continue
processing.
The thing is the system bug checks far after this - I mean after
I return, so I can’t find out what’s wrong. I’m assuming that some IRP
or FILE_OBJECT field is changed, but it should be kept.


Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
E-mail: xxxxx@alfasp.com
ICQ#: 56570367
Professional file&system related components and libraries for Win32
developers.
Alfa File Monitor - #1 file monitoring system for Win32 developers.
Alfa File Protector - #1 file protection and hiding system for Win32
developers.
Alfa Units - #1 file and system handling units for Delphi.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com