Microsoft SDK for Java

IJavaHeapMonitor::
GetContainerDescription

The GetContainerDescription method of the IJavaHeapMonitor interface is called by a memory profiler to obtain a description of a given container type.

Syntax

HRESULT GetContainerDescription(CONTAINER_TYPE type, LPWSTR *pshort, LPWSTR *plong);

Return Value

A short Unicode string (shorter description) and a long Unicode string (longer description) describing the container.

Parameters

[in] type The type of the container that the profiler is interested in.
[out] *pshort A short Unicode string, describing the container type.
[out] *plong A long Unicode string, describing the container type.

Remarks

If a memory profiler has registered a callback, the Microsoft VM will send notifications to BeginContainer with a container type. A memory profiler can pass this container type to GetContainerDescription to obtain a description the container type.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.