
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>LocalUI</TITLE>
</HEAD>
<BODY LINK="#0000ff">

<FONT FACE="Verdana" SIZE=5><H2>LocalUI: Sample Port Monitor UI DLL</H2>
</FONT><FONT FACE="Verdana" SIZE=2>
<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>
A port monitor's user interface DLL contains user interface functionality and executes on print client systems. Please refer to the Windows&#174; 2000 DDK documentation for further information about print monitors.<P>

This sample works on both x86 and Alpha platforms and is 64-bit compliant.<P>


<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
The code must be built using the build environment shipped with the DDK. Microsoft&#174; Visual C&#174; must be present on the machine for the sample to build properly, as build will use some header files. Also, both the SDK and the DDK must be installed.<P>

To build the samples, run <B>build</B> from the src\print\monitors\localui directory. The DLL will be placed in the appropriate platform directory (either i386 or Alpha). <P>
The LocalUI file will be installed together with the port monitor server in src\print\monitors\localmon.
It needs to be placed in the same directory with DDKLocalmon.dll and Monitor.inf. Then the user can use the print UI to install the sample port monitor.
</P>
Once built, the sample will produce four binaries: DDKLocalui.dll, DDKLocalui.lib (an export lib), DDKLocalui.exp, and, if the sample is built in checked environment, DDKLocalui.pdb.<P>

<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Config.c&#9;Handles spooler entry points for adding, deleting, and configuring localmon ports 
Dialogs.c&#9;Source module that implements dialog boxes 
Dialogs.h&#9;Header for Dialogs.c
Local.h&#9; 	Header that declares debug functions
Localui.c&#9;Source module that contains the DLL entry point 
Localui.def&#9;File that lists the exported functions 
Localui.prf&#9;Order of exported functions 
Localui.h&#9;Header for global declarations and function prototypes 
Localui.rc&#9;Resource file for the module 
Makefile&#9;Generic file for building the code sample 
Precomp.h&#9;Generic header 
Localui.htm&#9;Documentation for this sample (this file) 
Resource.rcv&#9;Resource version file
Resource.h&#9;Resource include file
Sources&#9; 	Generic file for building the code sample
Spltypes.h&#9;Header for spooler types and functions
Util.c&#9; 	Source module for support routines 


</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>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>


