somSelf (WPObject *) - input
Points to an object of class WPObject.
hwndOwner (HWND) - input
This parameter is required, and must not be NULL.
hwndClient (HWND) - input
This window must be owned by hwndOwner.
If hwndClient is supplied:
ptlPopupPt (POINTL *) - input
For MENU_OBJECTPOPUP requests where hwndOwner is an icon or tree view of a container which contains the object, this parameter is ignored, and the menu is displayed at the lower right-hand corder of the object's icon. This parameter is also ignored for MENU_TITLEBARPULLDOWNxx requests.
ulMenuType (ULONG) - input
Possible values are described in the following list:
MENU_EDITPULLDOWN
ulReserved (ULONG) - input
hwndMenu (HWND) - returns
A return value of NULLHANDLE indicates that either an invalid ulMenuType or an invalid hwndClient or hwndOwner was given.