The GrGetWMProperties function retrieves window management data about the specified window, including property flags and bits, the window title, background color and border size. If the GrGetWMProperties function cannot find a window with the number wid, it sets the returned flags to zero and the remainder of the information is undefined.