Windows Dev Center

ISecurityInformation::GetInheritTypes method

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

ppInheritTypes [out]

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.

pcInheritTypes [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Aclui.h

See also

ISecurityInformation
Access Control Editor
Access Control Editor Functions
CreateSecurityPage
EditSecurity
SI_INHERIT_TYPE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft