This class method queries the current error code held within a class object.

#define INCL_WINWORKPLACE
#include <os2.h>

M_WPObject     *somSelf;    /*  Pointer to the WPObject class object. */
ULONG           ulErrorId;  /*  ID of the last error. */

ulErrorId = _wpclsQueryError(somSelf);


[Back] [Next]