summaryrefslogtreecommitdiff
path: root/print/cpsuisam/README.md
blob: f43a5020b3972cf94e60a3ef5846a30448d7efb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
page_type: sample
description: "The CPSUISAM application causes the CPSUI to call the print spooler to create property sheet pages for the default printer."
languages:
- cpp
products:
- windows
- windows-wdk
---

# Common Property Sheet UI Sample

The CPSUISAM application causes the Common Property Sheet User Interface (CPSUI) to call the Windows print spooler to create property sheet pages for the system's default printer.

Printer interface DLLs must not perform this action and this sample shows how create property sheet pages for a printer.

The application then creates an additional property sheet page to illustrate some of the techniques that you can use when you are using CPSUI to create a new page.

CPSUI is a user-mode DLL that enables you to create property sheet pages that have a standard appearance.

CPSUIAM causes CPSUI to call the Windows print spooler to create property sheet pages for the system's default printer. The application then creates an additional property sheet page to illustrate some of the techniques that you can use when you are using CPSUI to create a new page. For more information, see [Common Property Sheet User Interface](https://docs.microsoft.com/windows-hardware/drivers/print/common-property-sheet-user-interface).