IO_STACK_LOCATION pointer has Options parameter for IRP_MAJOR_CREATE. Is
there any documentation that gives information about this value. I came
across some code that idicates that last 8bits contain Disposition value
that is supplied in IoCreateFile function. Is this the only information
that this Option value has or there is more in there? Could some one
please help in providing some information on it.
thanks,
Naveen
Disposition and CreateOptions .
----- Original Message -----
From: “Naveen”
To: “File Systems Developers”
Sent: Monday, December 02, 2002 8:29 PM
Subject: [ntfsd] Anatomy Of Options value in IRP_MAJOR_CREATE’s
IO_STACK_LOCATION
> IO_STACK_LOCATION pointer has Options parameter for IRP_MAJOR_CREATE. Is
> there any documentation that gives information about this value. I came
> across some code that idicates that last 8bits contain Disposition value
> that is supplied in IoCreateFile function. Is this the only information
> that this Option value has or there is more in there? Could some one
> please help in providing some information on it.
>
> thanks,
> Naveen
>
> —
> You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>
Thanks for your reponse Dave. the information I was looking for is… how
is the Options parameter value laid out.
<<<io_stack_location->Parameters->Create.Options>>>>
What is the strcuture of this parameter for file create operation? If I
have to do bit wise access, how does it look like?
Please forgive my little knowledge in this. I am just starting out on FSD.
Thanks.
Naveen</io_stack_location->
Naveen,
createOptionFlags =
currentIrpStack->Parameters.Create.Options &
0x00FFFFFF;
createDisposition =
(currentIrpStack->Parameters.Create.Options >> 24) &
0xFF;
I think this is right. You’d better test it 
Randy Cook
Lucid Systems Inc.
— Naveen wrote:
> Thanks for your reponse Dave. the information I was
> looking for is… how
> is the Options parameter value laid out.
>
> <<<io_stack_location->Parameters->Create.Options>>>>
>
> What is the strcuture of this parameter for file
> create operation? If I
> have to do bit wise access, how does it look like?
>
> Please forgive my little knowledge in this. I am
> just starting out on FSD.
>
> Thanks.
> Naveen
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com</io_stack_location->
You’re correct. See FASTFAT source for details.
Max
----- Original Message -----
From: “Naveen”
To: “File Systems Developers”
Sent: Monday, December 02, 2002 9:29 PM
Subject: [ntfsd] Anatomy Of Options value in IRP_MAJOR_CREATE’s
IO_STACK_LOCATION
> IO_STACK_LOCATION pointer has Options parameter for
IRP_MAJOR_CREATE. Is
> there any documentation that gives information about this value. I
came
> across some code that idicates that last 8bits contain Disposition
value
> that is supplied in IoCreateFile function. Is this the only
information
> that this Option value has or there is more in there? Could some one
> please help in providing some information on it.
>
> thanks,
> Naveen
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>