Function WinSetName

Hello! the 'WinSetName' function returns error # 1. What does this mean?