IRP_MJ_DIRECTORY_CONTROL Problem in 2000

Hi all,
I am having problem in getting file information in the case of win 2000.
The problem is specific to some folders only (like c:\winnt\downloaded
files).
What happens is that even at the very last entry (of some specific folders
and files like c:\winnt\downloaded files\swflash.inf OR the desktop files)
I don’t get NextFileOffset being equal to zero. I think my synchronization
mechanisms are perfect. The same code is running perfecting in case of
windows XP.
Is there a bug in case of 2000.
Please help.
Lalit.

Can you post your code? I never saw this happen, and I’ve done a lot of
testing around IRP_MJ_DIRECTORY_CONTROL.
Are you checking the return value always?

“Lalit S. Rana” wrote:

Hi all,
I am having problem in getting file information in the case of win 2000.
The problem is specific to some folders only (like c:\winnt\downloaded
files).
What happens is that even at the very last entry (of some specific folders
and files like c:\winnt\downloaded files\swflash.inf OR the desktop files)
I don’t get NextFileOffset being equal to zero. I think my synchronization
mechanisms are perfect. The same code is running perfecting in case of
windows XP.
Is there a bug in case of 2000.
Please help.
Lalit.


You are currently subscribed to ntfsd as: xxxxx@alfasp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.

Alfa File Monitor - File monitoring library for Win32 developers.