Sorry for the imprecise pronouns. By the first paragraph, I meant
STATUS_BUFFER_TOO_SMALL is what you should have seen, anyway [unless the
caller specified an input buffer even though the IOCTL doesn’t require
one].
It would be good to see a trace.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bob Kjelgaard
Sent: Tuesday, September 12, 2006 3:21 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] STATUS_INSUFFICIENT_RESOURCES being returned from
WdfRequestRetrieveInputBuffer…
Odd- you ought to get that return, anyway, because this IOCTL has no
input buffer, per the WDK docs (but the sender may not have followed the
rules). Which makes me wonder why you want it?
Be that as it may, turning on the Wdf verifier and using traceview or
!wdflogdump (which will need symbols) to look at the trace info should
say why this was getting bounced that way.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jeremy Chaney
Sent: Tuesday, September 12, 2006 2:42 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] STATUS_INSUFFICIENT_RESOURCES being returned from
WdfRequestRetrieveInputBuffer…
I’m passing 0 as the minimum size (but like you said in your next post,
if that were the problem the error would be BUFFER_TOO_SMALL).
–Jeremy
Bob Kjelgaard wrote:
Did you give a minimum size for the input buffer on this call? If so,
was it bigger than the buffer you actually received?
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jeremy Chaney
Sent: Tuesday, September 12, 2006 2:12 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] STATUS_INSUFFICIENT_RESOURCES being returned from
WdfRequestRetrieveInputBuffer…
I am porting a WDM virtual CD driver to WDF and in my handling code
for
IOCTL_CDROM_GET_DRIVE_GEOMETRY WdfRequestRetrieveInputBuffer is
returning STATUS_INSUFFICIENT_RESOURCES, even though I have plenty of
memory available. Any ideas what would cause this?
Thanks,
–Jeremy
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer