FreeRepairInfos function

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

Syntax

VOID FreeRepairInfos(
  _In_ RepairInfo *pInfo,
       ULONG      RepairCount,
       BOOL       bFreePointer
);

Parameters

pInfo [in]

Type: RepairInfo*

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

RepairCount

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

RepairInfo

CoTaskMemFree