Hi everybody,
I’m developing a Windows NT/2000 filter driver and I have a question.
If a Win32 application sends me a IOCTL command, I answer it with a NT
status code.
Does Windows NT translate the NT status code(STATUS_xxx) with the
corresponding Win32 error code (ERROR_xxx)?
Or must I do it manually?
Thanks.
Abel.
The DeviceIoControl routine does this automatically.
Paul
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Abel Mu?oz Alcaraz
Sent: Tuesday, September 12, 2000 2:54 PM
To: File Systems Developers
Subject: [ntfsd] STATUS_xxx vs ERROR_xxx codes.
Hi everybody,
I’m developing a Windows NT/2000 filter driver and I have a
question.
If a Win32 application sends me a IOCTL command, I answer it
with a NT
status code.
Does Windows NT translate the NT status code(STATUS_xxx) with
the
corresponding Win32 error code (ERROR_xxx)?
Or must I do it manually?
Thanks.
Abel.
You are currently subscribed to ntfsd as: xxxxx@compelson.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
RE: [ntfsd] STATUS_xxx vs ERROR_xxx codes. Thank you very much for your
help.
Abel.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Hrdina Pavel
Sent: martes, 12 de septiembre de 2000 16:26
To: File Systems Developers
Subject: [ntfsd] RE: STATUS_xxx vs ERROR_xxx codes.
The DeviceIoControl routine does this automatically.
Paul
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Abel Muñoz Alcaraz
Sent: Tuesday, September 12, 2000 2:54 PM
To: File Systems Developers
Subject: [ntfsd] STATUS_xxx vs ERROR_xxx codes.
Hi everybody,
I’m developing a Windows NT/2000 filter driver and I have a
question.
If a Win32 application sends me a IOCTL command, I answer it with
a NT
status code.
Does Windows NT translate the NT status code(STATUS_xxx) with the
corresponding Win32 error code (ERROR_xxx)?
Or must I do it manually?
Thanks.
Abel.
You are currently subscribed to ntfsd as: xxxxx@compelson.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> Does Windows NT translate the NT status code(STATUS_xxx) with the
corresponding Win32 error code (ERROR_xxx)?
Or must I do it manually?
The completion status of the IRP will be converted automatically to Win32
error by the user mode code in kernel32.dll.
If you want to return some auxiliary status code in the IOCTL’s output
buffer - then you will need to convert it yourself by your user mode code.
See Q113996 on www.microsoft.com for details.
Max