次の方法で共有


IConsole2::QueryResultImageList method

The IConsole2::QueryResultImageList method returns the console-provided result-view image list. This image list should be used only if the snap-in is using the default list view.

Syntax

HRESULT QueryResultImageList(
  [out] LPIMAGELIST *ppImageList
);

Parameters

  • ppImageList [out]
    Address of a variable that receives the IImageList interface pointer.

Return value

This method can return one of these values.

  • S_OK
    The image list was successfully returned.

  • E_UNEXPECTED
    An unexpected error occurred.

  • E_INVALIDARG
    The parameter is invalid. This may indicate a NULL pointer.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IConsole3

IConsole2

IImageList