GetWndSelIchFirst (hwnd)

Returns the index of the first character in the selection in the window hwnd.