DOC: ZwCreateFile in Microsoft Windows 98 (259897)
The information in this article applies to:
- Microsoft Windows 98 Driver Development Kit (DDK)
This article was previously published under Q259897 SUMMARY
The ZwCreateFile handle cannot create directory entries in Windows 98.
MORE INFORMATIONZwCreateFile cannot create directory entries when it is called from a Windows Driver Model (WDM) driver. ZwCreateFile is handled by WDMFS, which internally calls IFSMgr_Ring0_FileIO, and then WDMFS masks directory attributes before calling IFSMgr_Ring0_FileIO. This is because IFSMgr_Ring0_FileIO cannot create directory entries.
The Windows 98 DDK documentation incorrectly states that ZwCreateFile can be used to create directory entries. This is a documentation error.
Drivers can call Int 21h to create directories, by using Begin_Nested_Exec and End_Nested_Exec.
Modification Type: | Major | Last Reviewed: | 5/26/2000 |
---|
Keywords: | kbbug kbdocerr kbDSupport KB259897 |
---|
|