GENERIC_MAPPING (Structures)
Last changed: -84.9.34.166

.
Summary
The GENERIC_MAPPING structure defines the mapping of generic access rights to specific and standard access rights for an object. When a client application requests generic access to an object, that request is mapped to the access rights defined in this structure.

C# Definition:

  [StructLayout(LayoutKind.Sequential)]
  struct GENERIC_MAPPING
  {
    uint GenericRead;
    uint GenericWrite;
    uint GenericExecute;
    uint GenericAll;
  }

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Public Structure GENERIC_MAPPING
   Public GenericRead As UInteger 'UInt32
   Public GenericWrite As UInteger 'UInt32
   Public GenericExecute As UInteger 'UInt32
   Public GenericAll As UInteger 'UInt32
End Structure

User-Defined Field Types:

None.

Notes:

Used in MapGenericMask and AccessCheck. Also required for AreAllAccessesGranted to work.

Documentation