mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added mapping of access rights
svn path=/trunk/; revision=1577
This commit is contained in:
parent
d4850da19d
commit
9331d6391e
1 changed files with 22 additions and 25 deletions
|
@ -1,6 +1,6 @@
|
||||||
#ifndef _INCLUDE_DDK_OBTYPES_H
|
#ifndef _INCLUDE_DDK_OBTYPES_H
|
||||||
#define _INCLUDE_DDK_OBTYPES_H
|
#define _INCLUDE_DDK_OBTYPES_H
|
||||||
/* $Id: obtypes.h,v 1.9 2000/08/24 19:06:29 ekohl Exp $ */
|
/* $Id: obtypes.h,v 1.10 2001/01/28 15:13:11 ekohl Exp $ */
|
||||||
struct _DIRECTORY_OBJECT;
|
struct _DIRECTORY_OBJECT;
|
||||||
struct _OBJECT_ATTRIBUTES;
|
struct _OBJECT_ATTRIBUTES;
|
||||||
|
|
||||||
|
@ -48,6 +48,11 @@ typedef struct _OBJECT_TYPE
|
||||||
*/
|
*/
|
||||||
ULONG NonpagedPoolCharge;
|
ULONG NonpagedPoolCharge;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* PURPOSE: Mapping of generic access rights
|
||||||
|
*/
|
||||||
|
PGENERIC_MAPPING Mapping;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PURPOSE: Dumps the object
|
* PURPOSE: Dumps the object
|
||||||
* NOTE: To be defined
|
* NOTE: To be defined
|
||||||
|
@ -73,15 +78,6 @@ typedef struct _OBJECT_TYPE
|
||||||
/*
|
/*
|
||||||
* PURPOSE: Called when an open attempts to open a file apparently
|
* PURPOSE: Called when an open attempts to open a file apparently
|
||||||
* residing within the object
|
* residing within the object
|
||||||
* RETURNS: a pointer to the object that corresponds to the child
|
|
||||||
* child of ParsedObject that is on Path. Path is modified to
|
|
||||||
* to point to the remainder of the path after the child. NULL
|
|
||||||
* should be return when a leaf is reached and Path should be
|
|
||||||
* left unchanged as a reault.
|
|
||||||
*/
|
|
||||||
// PVOID (*Parse)(PVOID ParsedObject, PWSTR* Path);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* RETURNS
|
* RETURNS
|
||||||
* STATUS_SUCCESS NextObject was found
|
* STATUS_SUCCESS NextObject was found
|
||||||
* STATUS_UNSUCCESSFUL NextObject not found
|
* STATUS_UNSUCCESSFUL NextObject not found
|
||||||
|
@ -145,13 +141,14 @@ typedef struct _OBJECT_HEADER
|
||||||
|
|
||||||
} OBJECT_HEADER, *POBJECT_HEADER;
|
} OBJECT_HEADER, *POBJECT_HEADER;
|
||||||
|
|
||||||
typedef struct _OBJECT_ATTRIBUTES {
|
typedef struct _OBJECT_ATTRIBUTES
|
||||||
ULONG Length;
|
{
|
||||||
HANDLE RootDirectory;
|
ULONG Length;
|
||||||
PUNICODE_STRING ObjectName;
|
HANDLE RootDirectory;
|
||||||
ULONG Attributes;
|
PUNICODE_STRING ObjectName;
|
||||||
SECURITY_DESCRIPTOR *SecurityDescriptor;
|
ULONG Attributes;
|
||||||
SECURITY_QUALITY_OF_SERVICE *SecurityQualityOfService;
|
SECURITY_DESCRIPTOR *SecurityDescriptor;
|
||||||
|
SECURITY_QUALITY_OF_SERVICE *SecurityQualityOfService;
|
||||||
} OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES;
|
} OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES;
|
||||||
|
|
||||||
typedef struct _HANDLE_TABLE
|
typedef struct _HANDLE_TABLE
|
||||||
|
|
Loading…
Reference in a new issue