SP_ADDPROPERTYPAGE_DATA structure

An installer uses an SP_ADDPROPERTYPAGE_DATA structure to supply custom property pages for a device when it handles a DIF_ADDPROPERTYPAGE_ADVANCED request.

Syntax


typedef struct {
  SP_CLASSINSTALL_HEADER ClassInstallHeader;
  DWORD                  Flags;
  HPROPSHEETPAGE         DynamicPages[MAX_INSTALLWIZARD_DYNAPAGES];
  DWORD                  NumDynamicPages;
  HWND                   hwndWizardDlg;
} SP_ADDPROPERTYPAGE_DATA, *PSP_ADDPROPERTYPAGE_DATA;

Members

ClassInstallHeader

An install request header that contains the header size and the DIF code for the request.

Flags

Reserved. Must be zero.

DynamicPages

An array of property sheet page handles. An installer can add the handles of custom property pages to this array.

NumDynamicPages

The number of pages that are added to the DynamicPages array.

Because the array index is zero-based, this value is also the index to the next free entry in the array. For example, if there are three pages in the array, DynamicPages[3] is the next entry for an installer to use.

hwndWizardDlg

The handle to the Device Manager top-level window.

Remarks

See the Microsoft Windows SDK for documentation on the PROPSHEETPAGE structure and for more information about property pages.

Requirements

Header

Setupapi.h (include Setupapi.h)

See also

DIF_ADDPROPERTYPAGE_ADVANCED

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft