PGENERIC_MAPPING
IoGetFileObjectGenericMapping(
);
IoGetFileObjectGenericMapping returns information about the mapping between each generic access right and the set of specific access rights for file objects.
Return Value
IoGetFileObjectGenericMapping returns a pointer to the generic mapping for file objects.
Comments
The generic mapping structure is defined as follows:
typedef struct _GENERIC_MAPPING {
ACCESS_MASK GenericRead;
ACCESS_MASK GenericWrite;
ACCESS_MASK GenericExecute;
ACCESS_MASK GenericAll;
} GENERIC_MAPPING;
typedef GENERIC_MAPPING *PGENERIC_MAPPING;
Callers of IoGetFileObjectGenericMapping must be running at IRQL PASSIVE_LEVEL.
See Also