Associates a name with a particular window by its window number. An association with a window is removed when the window is free.
WinSetName(sName [, iWinNum] )
String name to associate with window number iWinNum.
An optional parameter which specifies the window number with which to associate Name. If no number is specified the name is associated with the currently selected window number..
0 (zero) if successful, otherwise an error is returned.