Re: a question: about DeviceIoControl()
- From: subhash <subhashsukumaran@xxxxxxxxx>
- Date: Mon, 7 Jan 2008 07:58:51 -0800 (PST)
On Jan 7, 4:27 pm, chenkaihui <chenkai...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Call GetLastError() ,return 50
and i am a newer. How to debug it
thinks
"Abhishek R [MSFT]" wrote:
After DeviceIoControl fails, a call to GetLastError() should give you an
error code which might have more info on why it failed.
Also, if you have the source code for the driver, you could debug it to see
how it handles the IOCTL.- Hide quoted text -
- Show quoted text -
0x32 (50) means the request is not supported.
map this win32 error code to NTSTATUS error code to know what happened
in kernel.
thease links might be helpful for you.
http://msdn2.microsoft.com/en-us/library/ms681382(VS.85).aspx
http://support.microsoft.com/kb/113996
Regards
Subhash
.
- References:
- a question: about DeviceIoControl()
- From: chenkaihui
- Re: a question: about DeviceIoControl()
- From: Abhishek R [MSFT]
- a question: about DeviceIoControl()
- Prev by Date: Re: [OT] Did you try ReactOS?
- Next by Date: Re: How to implement MSI-X (Message-signaled interrupts) in NDIS driver ?
- Previous by thread: Re: a question: about DeviceIoControl()
- Next by thread: Re: Some icons are not getting print while using mirror driver
- Index(es):
Relevant Pages
|