GameEnum.exe

Summary

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.

BUILDING THE SAMPLE

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.

CODE TOUR

File Manifest

File		Description

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



Top of page

© 1999 Microsoft Corporation