Using PCIUW from C++ Code
The PCIUW utility may be executed from within a C program code. The functions below describe how to
read, save and write back to the registers. These functions are for Microsoft C++ compilers. The
PCIUW.EXE and necessary DLLs must reside in the directory where this program is executed from.Using PCIUW from a C++ Code
The PCIUW utility may be executed from within a C program code. The functions below describe how to
read, save and write back to the registers. These functions are for Microsoft C++ compilers. The
PCIUW.EXE and necessary DLLs must reside in the directory where this program is executed from.
The necessary steps are:
1- Read all devices
2- Search for the desired device in the CFG file
3- Save the information for the device to a file, by specifying the bus number and the device number in
the save command
4- Write from the file to reload the hardware
The format of the CFG file is described below to allow locating the desired device(s).
A- Description of function calls to read, save and reload devices
void CTestDlg::OnButtonRun()
……