sys: FileDesc now stored for FileObject (in FsContext2)

This commit is contained in:
Bill Zissimopoulos
2016-01-19 17:38:12 -08:00
parent efe3d6656b
commit 727975e206
9 changed files with 126 additions and 79 deletions

View File

@ -164,8 +164,8 @@ typedef struct
/* IoStatus.Status == STATUS_SUCCESS */
struct
{
UINT64 UserContext; /* open file user context (unique file id) */
UINT64 UserContext2; /* kernel file object user context (stores as many bits as a pointer) */
UINT64 UserContext; /* user context (unique file id) associated with file node */
UINT64 UserContext2; /* user context associated with file descriptor (handle) */
UINT32 FileAttributes; /* FILE_ATTRIBUTE_{NORMAL,DIRECTORY,etc.} */
UINT64 AllocationSize; /* file allocation size */
UINT64 FileSize; /* file size */