arg1...argN (ULONG) - input
These parameters have no significance except when the presentation driver is reporting a base OS/2 error. The two examples that follow show how WinSetErrorInfo is used to post a presentation driver error and a base OS/2 error:
Example #1. To post a presentation driver error:
WinSetErrorInfo (ERRORID (SEVERITY_ERROR, PMERR_INV_COORDINATE), NOBEEP);
Example #2. To post a base OS/2 error:
WinSetErrorInfo (ERRORID (SEVERITY_WARNING, ErrorCode),
(DOSERROR+NOBEEP+NOPROMPT), DosErrorCode);