Problem with IoGetDeviceProperty

Hi,

I am working on disk device filtering.

i am trying to use IoGetDeviceProperty function to get bus interface type
using DevicePropertyLegacyBusType.

But i am getting all values zero. I am calling this function from
StartDevice
routine of my driver.
Can anybody tell me , what is wrong in this procedure and also is there any
other way to read bus interface type ?

Thank You!

cheers,
vincent


Take a break! Find destinations on MSN Travel. http://www.msn.com.sg/travel/