From: eBoy on
HI,

I am confuse on c when writing a USB port driver.
USBView sample code called "IOCTL_GET_HCD_DRIVERKEY_NAME" twice for
getting length and driverkey name.

But I saw the IOCTL_GET_HCD_DRIVERKEY_NAME in WDK, this IOCTL does
NOT need "Input Parameters".
In fact, I use "WdfDeviceQueryPropet(..)" to get WdfRequest
property, and it can get DriverKey name at the first call.
It seems not to call the second time.

Although I have tried "WdfDeviceAllocAndQueryProperty(..) to do the
same thing, but I mind to know the correct
formulation for IOCTL_GET_HCD_DRIVERKEY_NAME.