Group: Error Handling - Library: kernel32
Controls whether the system will handle the specified types of serious errors, or whether the process will handle them.
Using the SetErrorMode for determining if a floppy drive is ready
UINT SetErrorMode(
UINT uMode // process error mode
);
DECLARE INTEGER SetErrorMode IN kernel32;
INTEGER uMode
uMode [in] Specifies the process error mode.
The return value is the previous state of the error-mode bit flags.
See also: GetErrorMode.