Function
getMenuString corresponds to the C function GetMenuString in the Windows SDK. It has the following type:
val getMenuString : hmenu * word * menu_flag -> string
string, whereas the Windows function moves the string to the location pointed to by the pointer parameter. The Windows function also includes a parameter for the maximum length of the string, whereas the ML function does not.,