Page Creation Callbacks

Important

We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.

For more information, see the Print support app design guide.

When an application makes an initial call into CPSUI's entry point function (CommonPropertySheetUI), it must include the address of a PFNPROPSHEETUI-typed callback function. This callback function is responsible for describing property sheet pages and sending these descriptions to CPSUI for creation.

CPSUI's CommonPropertySheetUI function immediately calls back to the PFNPROPSHEETUI-typed function, supplying the address of a PROPSHEETUI_INFO structure. The application can then call CPSUI's ComPropSheet function, supplying page descriptions that CPSUI can use to create the pages, as illustrated in the following diagram:

diagram illustrating application-cpsui communication.

For more information, see Methods for Specifying Pages.