Author Topic: window API functions HID.dll &setup.dll  (Read 11605 times)

tammna

  • Member
  • ***
  • Posts: 12
window API functions HID.dll &setup.dll
« on: June 24, 2011, 12:26:07 am »
hello Sir ,

i got ur code of usb 2.0 in vb environment from ur website ...well in code , u have declared the function of three libraries , hid.dll , setupapi.dll and kernel32 ...u havent mentioned how to call these api function in vb interface ....n the most important  in my system as i viewed the available list of Windows API's,  which is installed along with Visual Basic. To start the API viewer, click Start -> Programs -> Microsoft Visual Studio 6 -> Microsoft Visual Studio 6 Tools -> API Text Viewer.

There are many dll libraries and their function declartion , i have found only kernel32 libraies of my intrest rest of two libraries 's functions are not in list .

Then google for hid.dll library on net & found some thing here on this link http://www.dlldump.com/download-dll-files_new.php/dllfiles/H/hid.dll/5.1.2600.2180/download.html


how can i import other two libarries now ? and what pid n vid should i use for communication ?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: window API functions HID.dll &setup.dll
« Reply #1 on: June 24, 2011, 11:34:07 pm »
The declarations are in FileIoDeclarations.vb, DeviceManagementDeclarations.vb and HidDeclarations.vb in my example application.

Vendor IDs:

http://www.lvr.com/development_tools.htm#vendor_id

Jan

tammna

  • Member
  • ***
  • Posts: 12
Re: window API functions HID.dll &setup.dll
« Reply #2 on: July 23, 2011, 02:50:45 am »
firmware code

[attachment deleted by admin]