IWCWizardCallback::EnableNext method

[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 Failover Cluster Administrator Wizard page, depending on whether the current page is last.

Syntax


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

Parameters

hpage [in]

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

bEnable [in]

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.

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 Wizard97 pages, use IWCWizard97Callback::EnableNext.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Enterprise, Windows Server 2003 Datacenter

End of server support

Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

IDL

CluAdmEx.idl

IID

IID_IWCWizardCallback is defined as 97DEDE62-FC6B-11CF-B5F5-00A0C90AB505

See also

IWCWizardCallback
IWCWizard97Callback::EnableNext

 

 

Show: