I am communicating with a usb raw device using NI-VISA in LabView (winusb driver). I open a VISA session in LabView and attach a Visa Resource Name to the device. I call a dll (written in C) from my LabView application. The dll needs a Device Handle to identify the device. How can I retrieve the Device Handle from the Visa Resource Name and pass it to the dll?