IWCWizard97Callback::EnableNext method (cluadmex.h)

[This method is available for use in the operating systems specified in the Requirements section. Support for this method was removed in Windows Server 2008.]

Enables or disables the Next or Finish button on a Wizard97 wizard page, depending on whether the current page is last.

Syntax

HRESULT EnableNext(
  [in] LONG *hpage,
  [in] BOOL bEnable
);

Parameters

[in] hpage

Handle to the property page containing the button to be enabled or disabled.

[in] bEnable

Value indicating whether to enable or disable the button. If bEnable is set to TRUE, the appropriate button is enabled. If bEnable is set to FALSE, it is disabled.

Return value

If EnableNext is not successful, it can return other HRESULT values.

Return code/value Description
NOERROR
0
The operation was successful.
E_INVALIDARG
0x80070057
The hpage parameter represents an unknown page.

Remarks

Extensions should call the EnableNext method in their handling of the PSN_SETACTIVE message for a property page that they have added to the Failover Cluster Administrator Wizard. Failover Cluster Administrator determines whether the Next or Finish button should be displayed based on the page specified in the hpage parameter.

For non-Wizard97 pages use IWCWizardCallback::EnableNext.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
Target Platform Windows
Header cluadmex.h

See also

IWCWizard97Callback

IWCWizardCallback::EnableNext