home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
windr440.zip
/
windrive.zip
/
WinDriver
/
samples
/
pci_diag
/
files.txt
next >
Wrap
File List
|
2000-03-30
|
1KB
|
40 lines
The source code for this project was generated by WinDriver Wizard.
To compile this application, you will need a Win32 compiler.
Files:
pci_diag.c
The main file which implements the functions which
access the resources you have defined in the Wizard.
This is a diagnostics application which demonstrates
usage of the pci_lib.c library.
pci_lib.c
A library for accessing your hardware through WinDriver.
pci_lib.h
Header file of pci_lib.c library.
pci_diag.mak
MS-Visual C++ 4.0 (and above) compatible make file.
pci_diag.mdp
MS-Visual C++ 4.0 (and above) compatible project file.
files.txt
Describes the files generated.
Compiling this project:
If you are using MS-Visual C++, then open the pci_diag.mdp project file, and
compile.
If using a different compiler:
- Create a new project. Choose console mode project.
- Include the following files in the project:
pci_lib.c
pci_diag.c
\windrvr\samples\shared\pci_diag_lib.c
\windrvr\samples\shared\print_struct.c
Converting to a GUI application:
This sample was written as a console mode application (rather than
a GUI application) that uses standard input and standard output.
This was done in order to simplify the source code. You may change it
into a GUI application by removing all calls to printf() and scanf()
functions, and calling MessageBox() instead.