Hi,
I would like to use WinUsb driver (actually winusb.dll which exposes
functionality for user-mode applications) from the win32 user-mode
application.
I’ve managed to install the driver for my hardware, but I cannot find a .h
or .lib file for the winusb.dll.
Is there any C/C++ wrapper for this dll available, or I’ll have to write it
by myself?
Thanks,
Damir
The headers and libraries are in the WDK
D
Sent using my smartphone, apologies forany typos
-----Original Message-----
From: “Damir Danijel Zagar”
To: “Windows System Software Devs Interest List”
Sent: 03/12/07 3:08 AM
Subject: [ntdev] Using WinUsb from win32 application
Hi,
I would like to use WinUsb driver (actually winusb.dll which exposes
functionality for user-mode applications) from the win32 user-mode
application.
I’ve managed to install the driver for my hardware, but I cannot find a .h
or .lib file for the winusb.dll.
Is there any C/C++ wrapper for this dll available, or I’ll have to write it
by myself?
Thanks,
Damir
—
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
That’s fine (only partially) if WDK is installed, but what about developers that would not like to install few GBs of code just because of few include files (in other words - for those that use plain Visual Studio environment)?
Another point is that WDK doesn’t contain link library that may be used for linking dll in user-mode application.
Damir
xxxxx@srce.hr wrote:
That’s fine (only partially) if WDK is installed, but what about developers that would not like to install few GBs of code just because of few include files (in other words - for those that use plain Visual Studio environment)?
The distribution is 2.5 GB only because it includes DTM, which few
people install. A full WDK installation, with all libraries, options,
and samples, takes up 1.6 GB on my disk. That’s 30c worth of disk space
at today’s prices.
Another point is that WDK doesn’t contain link library that may be used for linking dll in user-mode application.
Of course it does. In fact, MOST of the libraries in the WDK are
designed for user-mode code. Winusb.lib certainly is.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
It is distributed in the WDK, plain and simple. It could possibly be a part of an SDK later, but that is not how it is distributed today. The user mode lib is a part of the WDK as well (as are many other UM libs)…
d:\WINDDK\6000\lib\wlh\i386>dir winusb*
Directory of d:\WINDDK\6000\lib\wlh\i386
11/02/2006 12:36 AM 7,086 winusb.lib
1 File(s) 7,086 bytes
0 Dir(s) 64,887,107,584 bytes free
D
Mea culpa… I didn’t dig into the WDK tree properly. The last two answers probably saved me a few hours for writing wrapper class based on dll only. Thanks!
Hi, how did you do that wrapper? I wan´t to do a wrapper I can call from C#. Anything for me to start with? Or how to procced? I have the WDK, Is it possible to do a COM wrapper for the WINUSB in C++ 2005 that I can call from C#?