Monitor

[This is preliminary documentation and subject to change.]

SUMMARY

This is a sample application to demonstrate USB Monitor control using HID.DLL. The application will work with a monitor that is compliant with the USB Monitor Control Class Specification.

RUNNING THE TOOL

To install the application, copy Monitor.inf and Monsamp.dll to the same location. Using Microsoft® Windows Explorer, right-click on Monitor.inf and select Install. This will copy the files to the proper location and make the necessary registry modifications.

After installing, right-click the Desktop and click Properties. Then click Settings, and then click Advanced. Then select the MS-USB Monitor tab to adjust settings.

To uninstall, open the Control Panel and select Add/Remove Programs. Select the MS-USB Monitor option, and follow the wizard prompts.

CODE TOUR

File Manifest

File		Description

Monitor.c	Main dialog box procedure
Pnp.c		Routines for finding HID monitors 
Map.c		DLL entry routine
Mapcf.c		IClassFactory interface
Mappsx.c	Add pages routine
Mem.c		Memory management
Common.c	Shared components
Assert.c	Assertion routines
Hid.h		Data structures for a HID device
Map.h		Main private header file
Monitor.h	Contains USB monitor control class function information
Monitor.rc	Resource file for dialog box GUI
Monitor.ico	Icon file
Monitor.inf	Installation file
Monsamp.def	Export file
Makefile	DDK build environment makefile
Sources	        DDK sources file
Monitor.htm	The documentation for this tool (this file)

Top of page

© Microsoft Corporation 1999