Prev: Regarding DP hot add /Replace tests in WLK 1.5
Next: how to write integer to LPT under windows 7
From: eBoy on 2 Jun 2010 03:28 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.
|
Pages: 1 Prev: Regarding DP hot add /Replace tests in WLK 1.5 Next: how to write integer to LPT under windows 7 |