IShellImageData::SelectPage method (shimgdata.h)

Selects a specified page in a multipage image.

Syntax

HRESULT SelectPage(
  [in] ULONG iPage
);

Parameters

[in] iPage

Type: ULONG

The page number of the page to select.

Return value

Type: HRESULT

Returns S_OK if successful or an error value otherwise, including the following:

Return code Description
E_FAIL
The current page cannot be retrieved, the image has not been decoded, or the decoding process failed.
OLE_E_ENUM_NOMORE
The specified page number does not exist.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shimgdata.h
DLL Shell32.dll