Check out the Service Control Manager API in the Platform SDK. There are API's there to install and uninstall drivers on the fly. I'm not sure if they can handle filter drivers though - I have never tried. Administrative privileges will be required.
http://msdn.microsoft.com/en-us/library/ms685150(VS.85).aspx
Although the emphasis is on services, a service is much like a driver from an installation perspective.
Regards - Paul Sanders.
----- Original Message -----
From: Ramesh Rajagopal
To: libusb-win32-***@lists.sourceforge.net
Sent: Friday, January 16, 2009 4:29 AM
Subject: Re: [Libusb-win32-devel] Without installing filter driver,how to use the libusb just for communication?
Hi Paul Sanders,
Thank you for your information. For my USB device, The way you were described, i.e installing driver for my device is not what i want. because I have already a default windows driver(uvc video device), i dont want to loose that driver. I just want to use a filter driver from my PyUSB application(emulator over USB) without installation. If i just put the .dll and library file somewhere will it be ok.?
Any suggesstions on this front....
Thanks in Advance,
Ramesh.
On Fri, Jan 16, 2009 at 1:30 AM, Paul Sanders (AlpineSoft) <***@alpinesoft.co.uk> wrote:
No, you need to be logged in as an Administrator to install drivers. You
could supply the driver (and INF file on a flash drive but Windows will
still need to install it before it can use it. It's pretty lightweight
though.
Regards - Paul Sanders.
----- Original Message -----
From: "Blaine Booher" <***@cliftonlabs.com>
To: <libusb-win32-***@lists.sourceforge.net>
Sent: Thursday, January 15, 2009 7:24 PM
Subject: Re: [Libusb-win32-devel] Without installing filter driver,how to
use the libusb just for communication?
Post by Sumeet ChakrabortyHello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrrHi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Could one use this technique to allow the use of libusb without installing
any software to the local computer? (ie run the driver completely off a
flash drive, on a regular user account). I am using pyusb, by the way, not
a compiled application.
Thanks,
Blaine
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
--------------------------------------------------------------------------------