This function releases memory allocated for an error-information block.
#define INCL_WINERRORS /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> PERRINFO perriErrorInfo; /* Error-information block whose memory is to be released. */ BOOL rc; /* Success indicator. */ rc = WinFreeErrorInfo(perriErrorInfo);