This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method locates either the first or next occurrence of one of the specified views in the in-use list.
#define INCL_WINWORKPLACE
#include <os2.h>
WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG flViews; /* Flag indicating the views to search for. */
PVIEWITEM pCurrentItem; /* Pointer to the previous view item in the in-use list. */
PVIEWITEM pNextItem; /* Pointer to the view item that was found. */
pNextItem = _wpFindViewItem(somSelf, flViews,
pCurrentItem);