wpSetError - Syntax

This instance method is called to identify an error condition.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject     *somSelf;    /*  Pointer to the object on which the method is being invoked. */
ULONG         ulErrorID;  /*  Error identity. */
BOOL          rc;         /*  Success indicator. */

rc = _wpSetError(somSelf, ulErrorID);


[Back: wpSetError]
[Next: wpSetError Parameter - somSelf]