Tor Henrik Hovi
Member
Im trying to convert a VB6 example to VB.NET.
The example uses the DeviceIoControl function:
DeviceIoControl(hWD, IOCTL_WD_USB_SCAN_DEVICES, lpScan, LenB(lpScan), 0, 0, WinDriverGlobalDW, 0)
lpscan is a pointer to the Scan object.
My problem is i do not know how to make a pointer to a object.
Is it possible in VB.NET?
something like lpScan = pointer(Scan) ?????