ISecurityInformation::GetInheritTypes method (aclui.h)

The GetInheritTypes method requests information about how ACEs can be inherited by child objects. For more information, see ACE Inheritance.

Syntax

HRESULT GetInheritTypes(
  [out] PSI_INHERIT_TYPE *ppInheritTypes,
  [out] ULONG            *pcInheritTypes
);

Parameters

[out] ppInheritTypes

A pointer to a variable you should set to a pointer to an array of SI_INHERIT_TYPE structures. The array should include one entry for each combination of inheritance flags and child object type that you support.

[out] pcInheritTypes

A pointer to a variable that you should set to indicate the number of entries in the ppInheritTypes array.

Return value

Returns S_OK if successful.

Returns a nonzero error code if an error occurs.

Remarks

The access control editor does not free the pointer returned in ppInheritTypes.

Requirements

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

See also

Access Control Editor

Access Control Editor Functions

CreateSecurityPage

EditSecurity

ISecurityInformation

SI_INHERIT_TYPE