This instance method is called to retrieve the error identity of the last error condition.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulerrorid; /* Error identities. */ ulerrorid = _wpQueryError(somSelf);