IoCreateFileSpecifyDeviceObjectHint

Does anyone know if IoCreateFileSpecifyDeviceObjectHint() works for
redirectors?

I’ve tried to use it on LanmanRedirector, but get STATUS_INVALID_PARAMETER
returned if the DeviceObject field is anything other than NULL. I’ve also
tried setting IO_NO_PARAMETER_CHECKING, but this seems to make no
difference.

Also if the DeviceObject field is set to NULL the
IO_IGNORE_SHARE_ACCESS_CHECK seems to be ignored.

Thanks


Steven Braggs, Software Engineer, Sophos Anti-Virus
Email: xxxxx@sophos.com, Tel: 01235 559933, Web: www.sophos.com
Add live virus info to your website: http://www.sophos.com/link/vfeed

There was a bug in this for Windows XP that would cause
IoCreateFileSpecifyDeviceObjectHint() to return STATUS_INVALID_PARAMETER
if the DeviceObject was anything other than NULL. The Microsoft
Knowledge Base Article 322726 describes this bug. This was fixed in
Windows XP SP1.

Thanks,
Molly Brown
Microsoft Corporation

This posting is provided “AS IS” with no warranties and confers no
rights.

-----Original Message-----
From: xxxxx@sophos.com [mailto:xxxxx@sophos.com]
Sent: Friday, December 06, 2002 6:43 AM
To: File Systems Developers
Subject: [ntfsd] IoCreateFileSpecifyDeviceObjectHint

Does anyone know if IoCreateFileSpecifyDeviceObjectHint() works for
redirectors?

I’ve tried to use it on LanmanRedirector, but get
STATUS_INVALID_PARAMETER returned if the DeviceObject field is anything
other than NULL. I’ve also tried setting IO_NO_PARAMETER_CHECKING, but
this seems to make no difference.

Also if the DeviceObject field is set to NULL the
IO_IGNORE_SHARE_ACCESS_CHECK seems to be ignored.

Thanks


Steven Braggs, Software Engineer, Sophos Anti-Virus
Email: xxxxx@sophos.com, Tel: 01235 559933, Web: www.sophos.com Add live
virus info to your website: http://www.sophos.com/link/vfeed


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%