GetMenuDefaultItem

[DllImport("user32.dll")]
public static extern uint GetMenuDefaultItem(
   IntPtr hMenu,
   uint fByPos,
   uint gmdiFlags
);

Microsoft documentation: Linkarrow-up-right

Last updated