Contents Index Topic Contents | ||
Previous Topic: WppDeleteSite Next Topic: Commit |
AddWizardPages
HRESULT AddWizardPages( [in] LPVOID pvFlags [in] LPFNADDPROPSHEETPAGE pfnAdd [in, out] LPARAM pParam );Allows the provider DLLs to plug pages into the wizard invoked by the WpPost function.
- pvFlags
- The address of a LONG containing action flags. This parameter must be cast to an LPVOID in the call to AddWizardPages for backward compatibility. The only flag value supported is WPF_SHOWPAGE_PROVIDER, which indicates that the service provider should add its pages to the wizard whether or not it thinks that they are required.
- pfnAdd
- Address of a function that this Web Publishing service provider should use to add wizard pages. The declaration of this function-pointer type (LPFNADDPROPSHEETPAGE), is included in the header files of the Win32 SDK.
- pParam
- Address of a page identifier, an unsigned integer.
As input to this function, the low-order word is the dialog identifier of the page after the last page of the provider, and the high-order word is the dialog identifier of the page before the first page of the provider.
As output from this function, the low-order word is the dialog identifier of the provider's last page, and the high-order word is the dialog identifier of the provider's first page. If the provider has no pages, it should return zero as the page identifier.
As an example, in setting up a new site the wizard would provide the friendly site name and the site's URL and the provider DLLs would handle the rest of the site set up. The dialog identifier of the provider wizard page should be a value between the values of IDD_FIRST_PROV_PAGE and IDD_LAST_PROV_PAGE, as defined in the file WPPDEFS.H included with the stubbed service provider among the SDK samples.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.