| GetMenuItemID(IntPtr, Int32) | Retrieves the menu item identifier of a menu item located at the specified position in a menu. |
| GetMenuItemID(SafeHandle, Int32) | Retrieves the menu item identifier of a menu item located at the specified position in a menu. |