Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
IRP
MDL
Expand Minimize

GENERIC_MAPPING structure

The GENERIC_MAPPING structure describes the ACCESS_MASK value of specific access rights associated with each type of generic access right.

Syntax


typedef struct _GENERIC_MAPPING {
  ACCESS_MASK GenericRead;
  ACCESS_MASK GenericWrite;
  ACCESS_MASK GenericExecute;
  ACCESS_MASK GenericAll;
} GENERIC_MAPPING, *PGENERIC_MAPPING;

Members

GenericRead

Describes the specific access rights corresponding to the GENERIC_READ access right.

GenericWrite

Describes the specific access rights corresponding to the GENERIC_WRITE access right.

GenericExecute

Describes the specific access rights corresponding to the GENERIC_EXECUTE access right.

GenericAll

Describes the specific access rights corresponding to the GENERIC_ALL access right.

Remarks

Use the IoGetFileObjectGenericMapping routine to get the specific access rights corresponding to generic access rights for file objects. Use RtlMapGenericMask to subtract off the access rights within an ACCESS_MASK that do not derive from generic access rights.

For more information about generic access rights, see the reference page for GENERIC_MAPPING in the Microsoft Windows SDK documentation.

Requirements

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

ACCESS_MASK
IoGetFileObjectGenericMapping
RtlMapGenericMask

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft