Platform SDK: Access Control

ISecurityInformation::GetInheritTypes

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

HRESULT GetInheritTypes(
  PSI_INHERIT_TYPE *ppInheritTypes,
  ULONG *pcInheritTypes
);

Parameters

ppInheritTypes
[out] 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.
pcInheritTypes
[out] Pointer to a variable that you should set to indicate the number of entries in the ppInheritTypes array.

Return Values

Return S_OK if successful.

Return a nonzero error code if an error occurs.

Remarks

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

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Aclui.h.

See Also

Access Control Editor Overview, Access Control Editor Interfaces, CreateSecurityPage, EditSecurity, SI_INHERIT_TYPE