37 lines
1.8 KiB
HTML
37 lines
1.8 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
|
<META NAME="Generator" CONTENT="Microsoft Word 97">
|
|
<TITLE>GameEnum.exe</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">GameEnum.exe</A> </H2>
|
|
|
|
<H3>Summary</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
This sample is an example of how to enumerate joysticks on the GameEnum bus in user mode. It is not a driver. The sample works on both x86 and Alpha platforms, and the code is 64-bit compliant. <P>
|
|
|
|
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
The code builds properly with Visual C 6.0. Once built, this sample produces one binary, GameEnum.exe. Necessary files include those in this directory and GamePort.h and Setupapi.h. Both checked and free builds are available. There are no .inf requirements and no known bugs or issues to be documented.<P>
|
|
|
|
<H3>CODE TOUR</H3>
|
|
<H4>File Manifest</H4>
|
|
</FONT><U><PRE>File		Description
|
|
</U>
|
|
GameExe.htm	The documentation for this sample (this file)
|
|
Locate.c	Finds all the gameenum buses, asks the user for a hw description, and enumerates a device on the bus
|
|
Game.h	 Contains common private declarations for the game port enumerator
|
|
Gameenum.rc	Resource info
|
|
|
|
|
|
|
|
</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>
|