FreeInheritedFromArray function (aclapi.h)

The FreeInheritedFromArray function frees memory allocated by the GetInheritanceSource function.

Syntax

DWORD FreeInheritedFromArray(
  [in]           PINHERITED_FROMW      pInheritArray,
  [in]           USHORT                AceCnt,
  [in, optional] PFN_OBJECT_MGR_FUNCTS pfnArray
);

Parameters

[in] pInheritArray

A pointer to the array of INHERITED_FROM structures returned by GetInheritanceSource.

[in] AceCnt

Number of entries in pInheritArray.

[in, optional] pfnArray

Unused. Set to NULL.

Return value

If the function succeeds, the function returns ERROR_SUCCESS.

If the function fails, it returns a nonzero error code defined in WinError.h.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header aclapi.h
Library Advapi32.lib
DLL Advapi32.dll

See also

GetInheritanceSource