FreeHelperAttributes function

The FreeHelperAttributes function deallocates the memory allocated internally to an array of HELPER_ATTRIBUTE structures. This function calls CoTaskMemFree to deallocate memory.

Syntax

VOID FreeHelperAttributes(
  _In_ HELPER_ATTRIBUTE *pInfo,
       ULONG            HelperAttributeCount,
       BOOL             bFreePointer
);

Parameters

pInfo [in]

Type: HELPER_ATTRIBUTE*

The array of structures. The allocated memory pointed to by these structures will be freed.

HelperAttributeCount

Type: ULONG

The number of structures in the array pointed to by pInfo.

bFreePointer

Type: BOOL

True if the array of structures should also be deleted; otherwise, false.

Return value

This function does not return a value.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Ndattributils.h

See also

HELPER_ATTRIBUTE

CoTaskMemFree