![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
DosError
#define INCL_DOSMISC
USHORT rc = DosError(Flag);
USHORT Flags; /* Action flags */
USHORT rc; /* return code */
Example
This example disables hard error popups and exception popups, then
re-enables them.
#define INCL_DOSQUEUES
#define ENABLE_EXCEPTION 0
#define DISABLE_EXCEPTION 2
#define ENABLE_HARDERROR 1
#define DISABLE_HARDERROR 0
#define DISABLE_ERRORPOPUPS DISABLE_EXCEPTION | DISABLE_HARDERROR
#define ENABLE_ERRORPOPUPS ENABLE_EXCEPTION | ENABLE_HARDERROR
USHORT rc;
rc = DosError(DISABLE_ERRORPOPUPS); /* Action flag */
rc = DosError(ENABLE_ERRORPOPUPS); /* Action flag */
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs