My Win32 App
|
| call DeviceIoControl(…)
|
\ /
My filter driver
what IRP_MJ code the filter will receive?
is IRP_MJ_FILE_SYSTEM_CONTROL£¿
My Win32 App
|
| call DeviceIoControl(…)
|
\ /
My filter driver
what IRP_MJ code the filter will receive?
is IRP_MJ_FILE_SYSTEM_CONTROL£¿
> is IRP_MJ_FILE_SYSTEM_CONTROL ?
No, it is IRP_MJ_DEVICE_CONTROL.
L.
it is IRP_MJ_DEVICE_CONTROL.
cnmmd wrote:My Win32 App
|
| call DeviceIoControl(…)
|
\ /
My filter driver
what IRP_MJ code the filter will receive?
is IRP_MJ_FILE_SYSTEM_CONTROL£¿
—
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
If driver have FastIOControlDevice implementation (and it return TRUE), on
call DeviceIoControl IoMgr will use this turbo method, else roll
IRP_MJ_DEVICE_CONTROL Irp.
“cnmmd” ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:xxxxx@ntfsd…
> My Win32 App
> |
> | call DeviceIoControl(…)
> |
> \ /
> My filter driver
>
> what IRP_MJ code the filter will receive?
>
> is IRP_MJ_FILE_SYSTEM_CONTROL£¿
>
>
>
>
It depends on the value of IoControlCode.
Rules that define which codes are delivered via IRP_MJ_FILE_SYSTEM_CONTROL
are different on NT4 and W2K+.
There is a link that contains this information among other issues:
http://www.microsoft.com/whdc/devtools/ifskit/ntupto2k.mspx
If you want to explicitly control which IRP is generated - use native API.
Alexei.
-----Original Message-----
From: cnmmd [mailto:xxxxx@viatech.com.cn]
Sent: Friday, July 09, 2004 1:26 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] DeviceIOControl to a filter,what IRP_MJ code the filter
will get?
My Win32 App
|
| call DeviceIoControl(…)
|
\ /
My filter driver
what IRP_MJ code the filter will receive?
is IRP_MJ_FILE_SYSTEM_CONTROL??
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com