SEM_FAILCRITICALERRORS

Hi,

Does anyone know how to do the equivalent of

SetErrorMode( SEM_FAILCRITICALERRORS )

in kernel mode?

I’m using ZwCreateFile to access a floppy drive and I don’t want a dialog
to pop up if there is no disk in the drive.

Thanks,
Simon Bonner