IShellImageData::GetCurrentPage method (shimgdata.h)

Gets the current page of a multipage image.

Syntax

HRESULT GetCurrentPage(
  [out] ULONG *pnPage
);

Parameters

[out] pnPage

Type: ULONG*

A pointer to the page number.

Return value

Type: HRESULT

Returns S_OK. If the image is not a multipage image, such as a .jpg file, the method returns S_OK with a page number of 0.

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