options of File creation

Does anyone know what are meaning of the following two values during file creation:

  1. IrpStack->Parameters.Create.Options = 10000000
  2. FileObject->Flags = 0

I can not find these values in IFS header files.

Thank you in advance for your help.

Wencheng

IrpStack->Parameters.Create.Options >> 24

may give

FILE_OPEN
FILE_OPEN_IF
FILE_CREATE
FILE_OVERWRITE
FILE_OVERWRITE_IF
FILE_SUPERSEDE

L.

----- Original Message -----
From: Wencheng Chai
To: Windows File Systems Devs Interest List
Sent: Friday, February 27, 2004 2:58 AM
Subject: [ntfsd] options of File creation

Does anyone know what are meaning of the following two values during file creation:

  1. IrpStack->Parameters.Create.Options = 10000000
  2. FileObject->Flags = 0

I can not find these values in IFS header files.

Thank you in advance for your help.

Wencheng


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@volny.cz
To unsubscribe send a blank email to xxxxx@lists.osr.com

According to ntifs.h, these values are create disposition values not create option flags.


From: xxxxx@lists.osr.com on behalf of Ladislav Zezula
Sent: Thu 2/26/2004 11:18 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] options of File creation

IrpStack->Parameters.Create.Options >> 24

may give

FILE_OPEN
FILE_OPEN_IF
FILE_CREATE
FILE_OVERWRITE
FILE_OVERWRITE_IF
FILE_SUPERSEDE

L.

----- Original Message -----
From: Wencheng Chai mailto:xxxxx
To: Windows File Systems Devs Interest List mailto:xxxxx
Sent: Friday, February 27, 2004 2:58 AM
Subject: [ntfsd] options of File creation

Does anyone know what are meaning of the following two values during file creation:

1. IrpStack->Parameters.Create.Options = 10000000
2. FileObject->Flags = 0

I can not find these values in IFS header files.

Thank you in advance for your help.

Wencheng


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@volny.cz
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@authenex.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

Yep, that’s how it works. The high order byte is CreateDisposition.

–htfv

“Wencheng Chai” wrote in message news:xxxxx@ntfsd…

According to ntifs.h, these values are create disposition values not
create option flags.

From: xxxxx@lists.osr.com on behalf of Ladislav Zezula
Sent: Thu 2/26/2004 11:18 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] options of File creation

IrpStack->Parameters.Create.Options >> 24

may give

FILE_OPEN
FILE_OPEN_IF
FILE_CREATE
FILE_OVERWRITE
FILE_OVERWRITE_IF
FILE_SUPERSEDE

L.

----- Original Message -----
From: Wencheng Chai
To: Windows File Systems Devs Interest List
Sent: Friday, February 27, 2004 2:58 AM
Subject: [ntfsd] options of File creation

Does anyone know what are meaning of the following two values during
file creation:

1. IrpStack->Parameters.Create.Options = 10000000
2. FileObject->Flags = 0

I can not find these values in IFS header files.

Thank you in advance for your help.

Wencheng


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@volny.cz
To unsubscribe send a blank email to xxxxx@lists.osr.com

Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@authenex.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The senior bits of Parameters.Create.Options is CreationDisposition.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Wencheng Chai
To: Windows File Systems Devs Interest List
Sent: Friday, February 27, 2004 4:58 AM
Subject: [ntfsd] options of File creation

Does anyone know what are meaning of the following two values during file creation:

  1. IrpStack->Parameters.Create.Options = 10000000
  2. FileObject->Flags = 0

I can not find these values in IFS header files.

Thank you in advance for your help.

Wencheng


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com