INHERITED_FROMW structure (accctrl.h)
The INHERITED_FROM structure provides information about an object's inherited access control entry (ACE).
Syntax
typedef struct _INHERITED_FROMW {
LONG GenerationGap;
LPWSTR AncestorName;
} INHERITED_FROMW, *PINHERITED_FROMW;
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 that 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 is 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 |