Hi Myk,
Thanks a lot.
Your solution works well.
Best Regards
Michael
-----Urspr?ngliche Nachricht-----
Betreff: [ntdev] Re: ZwCreateFile(…) problem with Memory Stick Drives.
("\DosDevices\J:")
Check out IoSetThreadHardErrorMode (documented in the DDK):
PreviousHardErrorMode = IoSetThreadHardErrorMode( FALSE );
Status = ZwCreateFile( … );
IoSetThreadHardErrorMode( PreviousHardErrorMode );