DestroyMenu

2.x

  BOOL DestroyMenu(hmenu)    
  HMENU hmenu; /* handle of menu to destroy */

The DestroyMenu function destroys a menu and frees any memory that the menu occupied.

Parameters

hmenu

Identifies the menu to be destroyed.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

See Also

CreateMenu