IWCWizardCallback::EnableNext

The IWCWizardCallback::EnableNext method enables or disables the Next or Finish button on a Cluster Administrator wizard page, depending on whether or not the current page is last.

HRESULT IWCWizardCallback::EnableNext(
  HPROPSHEETPAGE hpage,  
  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 Values

NOERROR
The operation was successful.
E_INVALIDARG
The hpage parameter represents an unknown page.

If EnableNext is unsuccessful, it can also return an OLE-defined error value.

Remarks

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

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in cluadmex.h.