INF File Driver Installation

Thank you all for great support, my vjoy driver is working great. I have one more question about assigning hardware ids in my inf and for TLCs. Based on what I read here’s my understanding, please confirm:

For an HID class mini port driver that I have build …

  1. In the inf file for my driver under [Vendor] section the hardware id can be anything I make up. For ex:

[Vendor.NT$ARCH$]
%vjoy% = vjoy.Inst, HID\MyVJoy

  1. When creating hardware id for a TLC I should follow the guidelines as outline in WDK documentation (http://msdn.microsoft.com/en-us/library/ff538842(v=vs.85).aspx).
    Therefore, for my device the hardware ID should be in the format (device with single TLC):
    HID\Vid_v(4)&Pid_d(4)&Rev_r(4)

Please confirm.

What I noticed in device manager though, HID devices use same hardware id for HID driver and their TLC.
Is this best practice?

They should be different IDs differentiating only on the enumerator string, the parent is <bar>, the TLC will be HID<bar>

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Monday, July 18, 2011 11:55 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] INF File Driver Installation

What I noticed in device manager though, HID devices use same hardware id for HID driver and their TLC.
Is this best practice?


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer