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
);
If EnableNext is unsuccessful, it can also return an OLE-defined error value.
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.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in cluadmex.h.