IComponentData::GetDisplayInfo method (mmc.h)

The IComponentData::GetDisplayInfo method retrieves display information for a scope item.

Syntax

HRESULT GetDisplayInfo(
  [in, out] SCOPEDATAITEM *pScopeDataItem
);

Parameters

[in, out] pScopeDataItem

A pointer to a SCOPEDATAITEM structure. On input, the structure mask member specifies the type of information required and the lParam member identifies the item of interest.

Return value

This method can return one of these values.

Remarks

It is safe to reallocate the memory allocated for members of the pScopeDataItem parameter only:

  • When the scope item is deleted.
  • When IComponentData::Destroy is called.
  • When GetDisplayInfo is called again for that scope item.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h

See also

IComponent

IComponentData

IConsole2