GetSubMenu function Null safety user32

int GetSubMenu(
  1. int hMenu,
  2. int nPos
)

Retrieves a handle to the drop-down menu or submenu activated by the specified menu item.

HMENU GetSubMenu(
  HMENU hMenu,
  int nPos
);

Implementation

int GetSubMenu(int hMenu, int nPos) => _GetSubMenu(hMenu, nPos);