The class set methods are used to modify the properties of an object class. You would not normally override these methods but would call these methods to change the behavior of the corresponding class query method. For example, you might call wpclsSetError to define an error code to be returned by the next call to wpclsQueryError, as shown in the following sample code:

/* Set the class error code */
_wpclsSetError(_MyFolder,0x1234);
    .
    .
    .
/* Retrieve the last class error code */
ulLastError = _wpclsQueryError(_MyFolder);


[Back] [Next]