IWizardExtension::GetLastPage method (shobjidl.h)

Gets a handle to the final page of the wizard extension pages.

Syntax

HRESULT GetLastPage(
  [out] HPROPSHEETPAGE *phpage
);

Parameters

[out] phpage

Type: HPROPSHEETPAGE*

A pointer to a PROPSHEETPAGE handle representing the wizard extension's final page.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This value is used to navigate backward into the wizard extension pages when the user clicks the Back button.

Although the wizard extension may host several sequential HTML pages, if it consists of only one page the handles returned by IWizardExtension::GetFirstPage and IWizardExtension::GetLastPage are the same.

Requirements

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

See also

IWizardExtension

IWizardExtension::GetFirstPage