INHERITED_FROMA structure (accctrl.h)

The INHERITED_FROM structure provides information about an object's inherited access control entry (ACE).

Syntax

typedef struct _INHERITED_FROMA {
  LONG  GenerationGap;
  LPSTR AncestorName;
} INHERITED_FROMA, *PINHERITED_FROMA;

Members

GenerationGap

Number of levels, or generations, between the object and the ancestor. Set this to zero for an explicit ACE. If the ancestor cannot be determined for the inherited ACE, set this member to –1.

AncestorName

Name of the ancestor from which the ACE was inherited. For an explicit ACE, set this to NULL.

Remarks

Note

The accctrl.h header defines INHERITED_FROM as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header accctrl.h

See also

FreeInheritedFromArray

GetInheritanceSource