wpDoesObjectMatch
Appearance
This instance method is called to allow the object to determine if it matches the specified criteria.
Syntax
_wpDoesObjectMatch(somSelf, pvoidExtendedCriteria)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
- pvoidExtendedCriteria (PVOID) - input
- Pointer to class-specific extended search criteria.
- A pointer to a buffer that contains the class-specific extended search criteria.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE: The object matches the specified criteria.
- FALSE: The object does not match the specified criteria.
Remarks
If the object class has extended search criteria, this method is called to determine if the object found matches the extended search criteria.
Usage
This method can be called at any time in order to determine if an object matches some extended search criteria.
How to Override
This method should be overridden by classes which introduce extended search criteria for use by the Find and Include facilities.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ PVOID pvoidExtendedCriteria;/* Pointer to class-specific extended search criteria. */ BOOL rc; /* Success indicator. */ rc = _wpDoesObjectMatch(somSelf, pvoidExtendedCriteria);