44 lines
1.8 KiB
HTML
44 lines
1.8 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-
|
|
1252">
|
|
<META NAME="Generator" CONTENT="Microsoft FrontPage 5.0">
|
|
<TITLE>SMBBATT</TITLE>
|
|
</HEAD>
|
|
<BODY LINK="#0000ff">
|
|
|
|
<FONT FACE="Verdana" SIZE=5><H2>SMBBATT</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>
|
|
This kernel mode driver is the system supplied SMBus Smart Battery Subsystem
|
|
Miniport driver. This driver serves as an example of both a battery
|
|
miniclass driver, and as an example of a driver to access a SMBus device.
|
|
|
|
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana"
|
|
SIZE=2><P>
|
|
To build the driver, type <B>build</B> in the \\Ntddk\Src\Wdm\Acpi\Smbbatt directory. A successful build produces
|
|
Smbbatt.sys. The necessary Inf file is battery.inf and is located in the %WINDIR%\inf
|
|
directory.<H3>CODE TOUR</H3>
|
|
<H4>File Manifest</H4>
|
|
</FONT><U><PRE>File		Description
|
|
</U>
|
|
Smbbattp.h Header file for smbbatt.c
|
|
Pnppower.c	Plug and play and power management IRP dispatch routines
|
|
Smbbatt.c Main module for driver entry, IOCTL handler, etc.
|
|
Smbmisc.c SMBus handler functions
|
|
Smbwmi.c WMI functions
|
|
Smbbatt.rc Resource file for smbbatt.sys driver
|
|
Makefile	Indirects to the real makefile
|
|
Sources	 Dependency information for compiling
|
|
Smbbatt.htm	The documentation for this sample (this file)<PRE> <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>© 2001 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
|
|
</HTML> |