Wrapper for DeviceIoControl function