Export (0) Print
Expand All
Expand Minimize

FreeInheritedFromArray function

The FreeInheritedFromArray function frees memory allocated by the GetInheritanceSource function.

Syntax


DWORD WINAPI FreeInheritedFromArray(
  _In_      PINHERITED_FROM pInheritArray,
  _In_      USHORT AceCnt,
  _In_opt_  PFN_OBJECT_MGR_FUNCTS pfnArray
);

Parameters

pInheritArray [in]

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

AceCnt [in]

Number of entries in pInheritArray.

pfnArray [in, optional]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Aclapi.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

GetInheritanceSource

 

 

Community Additions

ADD
Show:
© 2014 Microsoft