Bewerken

Delen via


Page Creation Callbacks

Important

The modern print platform is Windows' preferred means of communicating with printers. 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 Modern print platform and 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.