ZwQueryDirectoryFile on UFS (DVD)

Hi,

I have been using the (semi-documented and admittedly unsupported)
ZwQueryDirectoryFile call within my filter driver for over 3 years with no
problems. It has been working fine on NT4 thru XP, and on FAT, NTFS and
CDFS. I am now getting a strange problem with DVDs (UFS).

When I use ZwQueryDirectoryFile on a handle opened on a DVD directory, it
returns “.”, then “…” and then an error - STATUS_FILE_CORRUPT_ERROR. It
works fine only on the root of the DVD, but fails on any sub-directories.
So far I have only been able to try this on W2K SP2.

Any ideas anyone?

Brian


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

This particular operation has been tested and does normally work on UDF
media. Please try out the following things to narrow what might be
causing this problem:

  • Is this occurring only on a specific piece of media or is it occurring
    on all UDF media? If it is only occurring on a specific piece of media
    this could be CSS (DVD content protection) related.

  • Do you have any other filters loaded besides your own? If so, unload
    them and see if it still fails.

  • Unload your filter and try doing this operation and see how it
    functions.

Any additional details you can give will help.

Neal Christiansen

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

-----Original Message-----
From: xxxxx@iOra.com [mailto:xxxxx@iOra.com]
Sent: Tuesday, February 19, 2002 04:00 PM
To: File Systems Developers
Subject: [ntfsd] ZwQueryDirectoryFile on UFS (DVD)

Hi,

I have been using the (semi-documented and admittedly unsupported)
ZwQueryDirectoryFile call within my filter driver for over 3 years with
no
problems. It has been working fine on NT4 thru XP, and on FAT, NTFS and
CDFS. I am now getting a strange problem with DVDs (UFS).

When I use ZwQueryDirectoryFile on a handle opened on a DVD directory,
it
returns “.”, then “…” and then an error - STATUS_FILE_CORRUPT_ERROR. It

works fine only on the root of the DVD, but fails on any
sub-directories.
So far I have only been able to try this on W2K SP2.

Any ideas anyone?

Brian


You are currently subscribed to ntfsd as: xxxxx@Windows.Microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com