somSelf (WPObject *) - input
hwndMenu (HWND) - input
hwndCnr (HWND) - input
Handle to container control window.
iPosition (ULONG) - input
Position to insert menu items.
ulMenuType (ULONG) - input
The type of menu that is being built.
Can be any one of the following values:
MENU_OBJECTPOPUP
Pop-up menu for the object icon.
MENU_OPENVIEWPOPUP
Pop-up menu for an open
view.
MENU_FOLDERPULLDOWN
Pull-down menu for a folder.
MENU_EDITPULLDOWN
Pull-down menu for the Edit
menu option.
MENU_VIEWPULLDOWN
Pull-down menu for the View
menu option.
MENU_SELECTEDPULLDOWN
Pull-down menu for the
Selected menu option.
MENU_HELPPULLDOWN
Pull-down menu for the Help
menu option.
ulView (ULONG) - input