[DllImport("user32.dll")] public static extern uint GetMenuState( IntPtr hMenu, uint uId, uint uFlags );
Microsoft documentation: Link
Last updated 1 year ago