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 |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for