Get Device Descriptor from User Mode



hello all,

I am facing a problem, how to det the device descriptor of USB device
from User Mode,
I just know VID n PID of the device. It could be great if a piece of
code is availble.

thanks
sachin

.