共用方式為


IConsole2::QueryScopeImageList method

The IConsole2::QueryScopeImageList method queries the console-provided scope pane image list.

Syntax

HRESULT QueryScopeImageList(
  [out] LPIMAGELIST *ppImageList
);

Parameters

  • ppImageList [out]
    The address of a variable that receives the scope pane 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.

  • E_OUTOFMEMORY
    The operation cannot be completed due to lack of memory.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IConsole3

IConsole2

IImageList