62 lines
3 KiB
HTML
62 lines
3 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
|
<META NAME="Generator" CONTENT="Microsoft Word 97">
|
|
<TITLE>CPSUI</TITLE>
|
|
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
|
</HEAD>
|
|
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
|
|
<FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">CPSUI</A> </H2>
|
|
|
|
<P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary documentation and subject to change.]</span></P>
|
|
|
|
|
|
<h3>SUMMARY</h3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
|
|
<p>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.
|
|
|
|
<p>This application causes CPSUI to call into the Windows NT®/Windows® 2000 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.
|
|
|
|
<h3>BUILDING THE SAMPLE</h3>
|
|
|
|
<p>This sample requires that the Windows 2000 SDK and DDK be installed so that the required headers and libs are available.
|
|
|
|
<p>To build the samples, run <B>build</B> from this directory. The DLL will be placed in the appropriate platform directory. This sample runs on both x86 and Alpha platforms.<P>
|
|
Once built, the sample produces one binary: Cpsuisam.exe. The sample is 64-bit compliant and compiles properly with Microsoft® Visual C® 6.0. <P>
|
|
|
|
|
|
<h3>CODE TOUR</h3>
|
|
|
|
<h4>File Manifest</h4>
|
|
|
|
<pre>
|
|
</font><font FACE="COURIER" SIZE="2">
|
|
<u>Files Description</u>
|
|
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
|
|
</pre>
|
|
|
|
</font><font FACE="VERDANA,ARIAL,HELVETICA" SIZE="2">
|
|
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
|
|
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
|
|
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
|
|
<P></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<FONT FACE="MS Sans Serif" SIZE=1><P>© 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
|
|
</HTML>
|