I'm writing prog. which communicates with a Kernel driver using DeviceIoControl().
For different IOCTL codes, DeviceIoControl returns sometime -0x3ffffff3 and sometime -0x3ffffffb. (Negative values in both cases)
From this return value how do i understand whether the IOCTL code is supported by the target device or not ??
If i'm sending correct IOCTL code to device, should it return positive value always ???
Thanks,