Description:
WinSetErrorInfo posts an error message, which can be retrieved by an application that calls WinGetLastError.
#include <os2.h> ERRORID idError; /* An ERRORID structure */ ULONG fsOptions; /* Option flags: */ ULONG arg1...argN; /* Variable number of optional arguments. */ WinSetErrorInfo(idError, fsOptions, arg1...argN);