最終更新:2014-11-12 (水) 15:54:50 (1102d)  

WinUSB はてなブックマークを見る
Top / WinUSB

Windows USB

Windows XP SP2以前はUSBデバイスドライバはカーネルモードである必要があったためWDFと共に開発された汎用USBドライバ

概要

Windows USB (WinUSB) is a generic driver for USB devices that was developed concurrently with the Windows Driver Foundation (WDF) for Windows XP with SP2. The WinUSB architecture consists of a kernel-mode driver (Winusb.sys) and a user-mode dynamic link library (winusb.dll) that exposes WinUSB functions. By using these functions, you can manage USB devices with user-mode software.

ドキュメント

仕組み

  • カーネルモードで動作するドライバ:winusb.sys
  • ドライバとのインターフェイス:winusb.dll

対応プラットフォーム

関数 (winusb.h)

関連関数

libusb-win32との比較

libusb-win32 device driver (libusb0.sys) has quite some advantages compared to WinUSB.

  • 1) Open source, the device driver is GPLed, with libusb-0.1 compatible library (LGPL).
  • 2) Support multiple configuration USB device.
  • 3) Support isochronous transfer whereas WinUSB does not.
  • 4) Support Windows 2000, Windows 2003? 32bit/64bit and Windows XP 64bit, Microsoft does not support WinUSB on these platforms. On the other hand, since version 1.2.0.0, libusb0.sys is digitally signed so it is similar to WinUSB -- both work under 64bit Windows which requires kernel mode driver to be signed, like 64bit Windows Vista or Windows 7.
  • 5) WinUSB does not support multiple concurrent applications.

http://www.libusb.org/ticket/49

libusbK

関連

参考