Identify

Hi,

How to identify wheather the file is Opening Existing or Creating New file in IRP_MJ_CREATE ?

Thanks in Advance,
Satish K.S


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

Create Disposition is encoded in CurrentStackLocation.Parameters.Create.Options

CreateDisposition = (Options >> 24) & 0x000000ff

----- Original Message -----
From: Satish
To: File Systems Developers
Sent: Thursday, May 03, 2001 3:37 PM
Subject: [ntfsd] Identify

Hi,

How to identify wheather the file is Opening Existing or Creating New file in IRP_MJ_CREATE ?

Thanks in Advance,
Satish K.S

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


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

If it’s on a local FSD, the Irp->IoStatus.Information will contain
FILE_OPENED, FILE_CREATED or FILE_OVERWRITTEN. If it succeeds only!
On Network volumes, and paths, you must separate this IRP!

Regards, Dejan.

Satish wrote:

Hi, How to identify wheather the file is Opening Existing or Creating
New file in IRP_MJ_CREATE ? Thanks in Advance,Satish K.S—
You are currently subscribed to ntfsd as: xxxxx@ptt.yu
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Kind regards, Dejan M. CEO Alfa Co. www.alfaunits.co.yu and
www.register.co.yu
E-mail : xxxxx@ptt.yu, xxxxx@register.co.yu and
xxxxx@alfaunits.co.yu
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