- Re: Create and Write to File in kernel-mode
- Posted by Nick Ryan on July 13th, 2003
The convention is to also ask for SYNCHRONIZE access and specify
FILE_SYNCHRONOUS_IO_NONALERT in CreateOptions. Also, you're writing one
string and getting the 'sizeof' a completely different one. And why are
you specifying only FILE_SHARE_WRITE? You want to allow others to write
but not read? Did you intend FILE_SHARE_READ instead? Or just 0 for
exclusive access?
You should tell us exactly how the code fails, so we don't have to guess
blindly at what is wrong.
Megasus wrote:
- Posted by Nick Ryan on July 13th, 2003
Read 'kernel-mode opens' for 'kernel-mode options'.
Nick Ryan wrote:
Similar Posts
- Re: NT Kernel & System (file name ntoskrnl.exe) (Computers & Technology) by Artless Malefactor
- How create a DOS SYSTEM BOOTABLE diskette to read and write NTFS??? (Computers & Technology) by Joe Donaldson
- Enabling Kernel-mode Printer Drivers in 2003 (Drivers) by Greg Neale
- SetupDi in Kernel Mode (Drivers) by Eric Minso
- Re: How detect USER Mode Application is loaded in kernel mode driver (Drivers) by William Ingle

