Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
27 May 18 13:47
sachin kumar Butte
xxxxxx@gmail.com
Join Date: 20 Mar 2013
Posts To This List: 19
DeviceIoControl failing with error code 24(ERROR_BAD_LENGTH).

Hi Experts, I have an application which sends private IOCTL to WFP filter driver.This application is working fine on windows 7 but same application and driver trying to run on window s 10.Observing the failure as mentioned above. Please help me in giving some pointers in debugging this issue?
  Message 2 of 2  
28 May 18 00:01
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11955
DeviceIoControl failing with error code 24(ERROR_BAD_LENGTH).

On May 27, 2018, at 10:47 AM, xxxxx@gmail.com <xxxxx@lists.osr.com> wrote: > > I have an application which sends private IOCTL to WFP filter driver.This application is working fine on windows 7 but same application and driver trying to run on window s 10.Observing the failure as mentioned above. > > Please help me in giving some pointers in debugging this issue? Well, it's your driver that is returning the error, right? Surely you know where your ioctl handlers are returning length errors. Do you include pointers in your data? One of the most common causes of this error is when the ioctl buffer includes a pointer, because a 64-bit driver will assume the pointer is 8 bytes long, but a 32-bit application will only allocate 4 bytes. ??? Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 23:38.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license