The second parameter of FltCreateFile(Ex) is “IN PFLT_INSTANCE Instance OPTIONAL”
The description about second parameter “Instance” in WDK Document is "… This parameter must be NULL if the CreateOptions FILE_NON_DIRECTORY_FILE flag is specified. " But in my project,
this API is successful when i specify FILE_NON_DIRECTORY_FILE flag and Non-NULL Instance. Why ?
Regards!
Devia
Hi Devia,
The second parameter of FltCreateFile(Ex) is “IN PFLT_INSTANCE Instance OPTIONAL”
The description about second parameter “Instance” in WDK Document is "… This parameter must be NULL if the CreateOptions FILE_NON_DIRECTORY_FILE flag >is specified. " But in my project,
this API is successful when i specify FILE_NON_DIRECTORY_FILE flag and Non-NULL Instance. Why ?
Actually this is mentioned in WDK 6000 documentation. You can download the latest documentation (6001.xxx) from Microsoft’s site.
It has been removed in that documentation AFAIR.
Regards,
Ayush Gupta