FreeRootCauseInfos function

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

Syntax


VOID FreeRootCauseInfos(
  _In_  RootCauseInfo *pInfo,
  ULONG RootCauseCount,
  BOOL bFreePointer
);

Parameters

pInfo [in]

Type: RootCauseInfo*

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

RootCauseCount

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Ndattributils.h

See also

RootCauseInfo
CoTaskMemFree

 

 

Community Additions

ADD
Show:
© 2014 Microsoft