HIDMiniport driver update HID report descriptor runtim in driver?

I mean for example, at first, I report a top-level collection which is
a keyboard.
Later on, can the driver report a top-level collection which is a
mouse? So that the HID keybard
disappears and a new HID mouse appears in the system.

Cheers.
Long

No, you cannot change the hid descriptor after it is initially queried. If you want functions to change state, just stop sending data through them. The only way to have them come and go would be to install multiple instances of your miniport and each instance has a differemt hid descriptor

d

Sent from my phone with no t9, all spilling mistakes are not intentional.

-----Original Message-----
From: Long Pu
Sent: Friday, May 22, 2009 12:08 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] HIDMiniport driver update HID report descriptor runtim in driver?

I mean for example, at first, I report a top-level collection which is
a keyboard.
Later on, can the driver report a top-level collection which is a
mouse? So that the HID keybard
disappears and a new HID mouse appears in the system.

Cheers.
Long


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