Added mapping of access rights

svn path=/trunk/; revision=1577
This commit is contained in:
Eric Kohl 2001-01-28 15:13:11 +00:00
parent d4850da19d
commit 9331d6391e

View file

@ -1,6 +1,6 @@
#ifndef _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 _OBJECT_ATTRIBUTES;
@ -48,6 +48,11 @@ typedef struct _OBJECT_TYPE
*/
ULONG NonpagedPoolCharge;
/*
* PURPOSE: Mapping of generic access rights
*/
PGENERIC_MAPPING Mapping;
/*
* PURPOSE: Dumps the object
* NOTE: To be defined
@ -73,15 +78,6 @@ typedef struct _OBJECT_TYPE
/*
* PURPOSE: Called when an open attempts to open a file apparently
* 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
* STATUS_SUCCESS NextObject was found
* STATUS_UNSUCCESSFUL NextObject not found
@ -145,13 +141,14 @@ typedef struct _OBJECT_HEADER
} OBJECT_HEADER, *POBJECT_HEADER;
typedef struct _OBJECT_ATTRIBUTES {
ULONG Length;
HANDLE RootDirectory;
PUNICODE_STRING ObjectName;
ULONG Attributes;
SECURITY_DESCRIPTOR *SecurityDescriptor;
SECURITY_QUALITY_OF_SERVICE *SecurityQualityOfService;
typedef struct _OBJECT_ATTRIBUTES
{
ULONG Length;
HANDLE RootDirectory;
PUNICODE_STRING ObjectName;
ULONG Attributes;
SECURITY_DESCRIPTOR *SecurityDescriptor;
SECURITY_QUALITY_OF_SERVICE *SecurityQualityOfService;
} OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES;
typedef struct _HANDLE_TABLE