This instance method is called to allow the object to modify its context menu.
#define INCL_WINWORKPLACE
#include <os2.h>
WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG ulFlags; /* Pop-up menu flags. */
HWND hwndCnr; /* Handle to container control window. */
BOOL fMultiSelect; /* Multiple menu items flag. */
ULONG rc; /* New pop-up menu flags for this object. */
rc = _wpFilterPopupMenu(somSelf, ulFlags,
hwndCnr, fMultiSelect);