Searches a folder for the name specified.
#define INCL_WINWORKPLACE
#include <os2.h>
WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */
PSZ pszName; /* Descriptive name of what is being searched. */
ULONG ulSearchType; /* Type of search being conducted. */
ULONG ulLen; /* The number of SEARCH_INFO structures passed in. */
PSEARCH_INFO pInfo; /* Pointer to the SEARCH_INFO structures. */
WPFolder *ResultFolder; /* The folder to contain the links to the matched items. */
BOOL rc; /* Success indicator */
rc = _wpSearchFolder(somSelf, pszName, ulSearchType,
ulLen, pInfo, ResultFolder);