> Hi All
I’m using OSR Windows 2000 filter driver. I’m trapping the IRP_MJ_CREATE
IRPs. While doing so, I’ve observed that for File creation (FILE_CREATE)
the disposition value is 0x00000005 whereas for
Overwrite_if(FILE_OVERWRITE_IF) it is 0x00000002.But when i create a directory i get the disposition as 0x00000002( create)
and not as 0x00000005the has defines as found in NT 2000 DDK are
#define FILE_SUPERCEDE 0x00000000
#define FILE_OPEN 0x00000001
#define FILE_CREATE 0x00000002
#define FILE_OPEN_IF 0x00000003
#define FILE_OVERWRITE 0x00000004
#define FILE_OVERWRITE_IF 0x00000005
#define FILE_MAXIMUM_DISPOSTION 0x00000005seeing the hash defines it is right for directories but not for files
Can some one help me in tracing out the problem .Thanks in advance .
Sreenivas