IActiveScriptProfilerHeapEnum::GetOptionalInfo Method

Gets optional information on the specified object (from the set of heap objects returned from the IActiveScriptProfilerControl3::EnumHeap Method).

You should not free the returned memory assigned to the returned objects. Instead, you should call the IActiveScriptProfilerHeapEnum::FreeObjectAndOptionalInfo Method.

Syntax

HRESULT GetOptionalInfo (    [in] PROFILER_HEAP_OBJECT* heapObject,    [in] ULONG celt,    [out, size_is(celt)] PROFILER_HEAP_OBJECT_OPTIONAL_INFO* optionalInfo);  

Parameters

heapObject
The PROFILER_HEAP_OBJECT Structure for which to return the information.

celt
The number of PROFILER_HEAP_OBJECT_OPTIONAL_INFO Structure structures to return.

optionalInfo
[out] An array of PROFILER_HEAP_OBJECT_OPTIONAL_INFO Structure structures for the specified object.

Return Value

The HRESULT.