WinCE console util. Provide simple listing of installed drivers, install new drivers, run them, stop and uninstall.
https://sourceforge.net/projects/wincedrvhelper/
- C 69%
- C++ 29.7%
- Batchfile 1.3%
| build.bat | ||
| drvenum.vcproj | ||
| main.c | ||
| main.h | ||
| parcer.cpp | ||
| parser.h | ||
| readme.txt | ||
| reg_utils.c | ||
| reg_utils.h | ||
| stream.c | ||
| stream.h | ||
| usb_driver.c | ||
| usb_driver.h | ||
WinCE drvhelper v 0.1 beta Jun 2009
Copyright (c) 2009 Tanchuck A. aka Ation
All rights reserved.
e-mail: gation@gmail.com
DESCRIPTION
-----------
WinCE drvhelper is smal console util for enum, run, stop, install and uninstall
WinCE stream interface drivers, and for enum installed USB device drivers, install and uninstall USB drivers.
SOURCE OVERVIEW
--------
WinCE drvhelper include
main.c - program entry point
main.h - all common definitions
stream - stream drivers functions
usb_driver - usb drivers functions
Systems
WinCE drvhepler can be build for WinCE 4.00 - 6.00 (not tested under earlier versions)
WinCE drvhepler not used any assembly instructions, so you can build it for any architecture
your compiler provide.
USB device default config option is supported only for Wince 5.xx - 6.xx
Recommended software
MS eVC (freeware) or MS VisualStudio
+ WinCE STANDARD SDK for target platform.
SUPPORT
-------
If you have any problems with WinCE drvhelper then please take the following steps
first:
- Download the latest version and test it first
- check bug track
- contact me over e-mail - gation@gmail.com
If you wish to report a bug then please include the following information in
any bug report:
- version
- tools, used for building
- platform, processor type
- test cases
1. command line
enum stream active, stream builtin, usb
-l - list active
-l:abu
a - active
b - built in
u - USB
install stream (name, dll, prefix, [index], [order], [additional settings])
-i: <name> <dll> <prefix> index=<index>, order=<order>, value_name=type:value
activate stream (name)
-a:name
deactivate stream (name | index | device name)
-d:name
-d:driver_name=name
-d:device_name=device_name
//-d:active_index=index XXX
uninstall stream (name)
-u:name
install usb (name, dll, settings, [default config], [additional settings])
-usbi: <name> <dll> [VID=, PID=, Release=, DeviceClass=, DeviceSubclass=, DeviceProtocol=, InterfaceClass=,InterfaceSubclass=, InterfaceProtocol=] value_name=type:value
uninstall usb name
-usbu:name
// XXX uninstall USB driver by settings ?
-f:file_name - specify command file
2. Command file
[Stream]
[Install]
{Driver_name}
DLL="";
Prefix="";
Index=number;
Order=number;
Value_name=type:value;
[Uninstall]
{driver_name}
[Activate]
{Driver_name}
[Deactivate]
{}
[USB]
[Install]
{Driver_name}
DLL="";
DefaultConfiguration=number;
Value_name=type:value;
[Uninstall]
{Driver_Name}
// Execution order
1. List.
2. Install stream drivers.
3. Activate Stream drivers.
4. Deactivate stream drivers.
5. Uninstall stream drivers.
6. Install USB driver.
7. Uninstall USB driver.