[This is preliminary documentation and subject to change.]
The Common Property Sheet User Interface (CPSUI) is a user-mode dynamic link library that enables developers to create property sheet pages that have a standard appearance.
This application causes CPSUI to call into the Windows® 2000/Windows® XP/Windows® Server 2003 print spooler to create property sheet pages for the system's default printer (printer interface DLLs should not do this). The application then creates an additional property sheet page to illustrate some of the techniques that can be employed when using CPSUI to create a new page.
This sample requires that the Windows® 2000/Windows® XP/Windows® Server 2003 Software Development Kit and Driver Development Kit be installed so that the required headers and libs are available.
To build the samples, run build from this directory. The DLL will be placed in the appropriate platform directory. This sample runs on both x86 and Alpha platforms.
Once built, the sample produces one binary: Cpsuisam.exe. The sample is 64-bit compliant and compiles properly with Microsoft® Visual C® 6.0.
Files Description Apple.ico The resource file for a sample icon Cpsuidat.cpp The source file that contains all the predefined data Cpsuidat.h The header file for CPSUIDAT.cpp Cpsuisam.c The source file that implements the sample for the Windows 2000 CPSUI Cpsuisam.def The file that lists the exported functions Cpsuisam.dlg The resource file for the dialogs Cpsuisam.h The header file for CPSUISAM.c Cpsuisam.ico The resource file for a sample icon Debug.c The source file for debugging functions Debug.h The header for Debug.c Makefile The generic file for building the code sample Precomp.h The header that includes the headers to pre-compile Cpsui.htm The documentation for this sample (this file) Res.rc The resource file for the module Sources The generic file for building the code sample
©1999-2003 Microsoft Corporation