GetWndSel (hwnd)
Returns the selection state of the window specified by hwnd. The selection state is returned in a Selection record. See: Selection Record .