I use these code to write file in my program.
Status = ZwCreateFile(&hFileHandle,
Status = ZwWriteFile(hFileHandle,
And I want the data written to the disk immediately. What should I do? For the buffer is not alined with 512 bytes I can not use FILE_NO_INTERMEDIATE_BUFFERING in ZwCreateFile.
Thanks & Regards.