File Handle and File Object

Is the file handle returned from ZwOpenFile the same as the File Object created in IRP for the same file?

If not, how can I get the File Object with the File Handle returned from ZwOpenFile?

> If not, how can I get the File Object with the File Handle returned from ZwOpenFile?

ObReferenceObjectByHandle.

Max

Is there any method to obtain a file handle for the ZwXXXFile operations
with a FileObject?

Thanks.

How about ObOpenObjectByPointer?

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

Hope to see you at the next OSR file systems class October 7, 2002!

-----Original Message-----
From: Eric Chan [mailto:xxxxx@hotmail.com]
Sent: Monday, May 20, 2002 3:31 AM
To: File Systems Developers
Subject: [ntfsd] Re: File Handle and File Object

Is there any method to obtain a file handle for the ZwXXXFile operations
with a FileObject?

Thanks.


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

ObOpenObjectByPointer

----- Original Message -----
From: “Eric Chan”
To: “File Systems Developers”
Sent: Monday, May 20, 2002 11:30 AM
Subject: [ntfsd] Re: File Handle and File Object

> Is there any method to obtain a file handle for the ZwXXXFile operations
> with a FileObject?
>
> Thanks.
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

This is another good candidate for the IFS Kit documentation. I think this one appeared in the W2K IFS Kit headers, but not in the documentation. Are there any plans to audit NTIFS.H, and document what is there?

-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Monday, May 20, 2002 8:50 AM
To: File Systems Developers
Subject: [ntfsd] Re: File Handle and File Object

How about ObOpenObjectByPointer?

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

Hope to see you at the next OSR file systems class October 7, 2002!

-----Original Message-----
From: Eric Chan [mailto:xxxxx@hotmail.com]
Sent: Monday, May 20, 2002 3:31 AM
To: File Systems Developers
Subject: [ntfsd] Re: File Handle and File Object

Is there any method to obtain a file handle for the ZwXXXFile operations
with a FileObject?

Thanks.


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


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%

Rob -
That’s indeed the plan.
Ravi

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Fuller, Rob [mailto:xxxxx@inin.com]
Sent: Monday, May 20, 2002 8:10 AM
To: File Systems Developers
Subject: [ntfsd] Re: File Handle and File Object

This is another good candidate for the IFS Kit documentation. I think
this one appeared in the W2K IFS Kit headers, but not in the
documentation. Are there any plans to audit NTIFS.H, and document what
is there?

-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Monday, May 20, 2002 8:50 AM
To: File Systems Developers
Subject: [ntfsd] Re: File Handle and File Object

How about ObOpenObjectByPointer?

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

Hope to see you at the next OSR file systems class October 7, 2002!

-----Original Message-----
From: Eric Chan [mailto:xxxxx@hotmail.com]
Sent: Monday, May 20, 2002 3:31 AM
To: File Systems Developers
Subject: [ntfsd] Re: File Handle and File Object

Is there any method to obtain a file handle for the ZwXXXFile operations
with a FileObject?

Thanks.


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


You are currently subscribed to ntfsd as: xxxxx@inin.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%