hwnd (HWND) - input

      Window handle to be switched. (NULL indicates a focused window.)

    pIMName (UniChar *) - input

      Pointer to an IMName to be attached.

    rc (BOOL) - returns

      Return codes.

      TRUE

        Successful completion.
      FALSE
        Error occurred.

        Possible returns from WinGetLastError: PMERR_INVALID_PARAMETERS (0x1208)

          An invalid parameter was specified.
        PMERR_INVALID_HWND (0x1101)
          An invalid window handle was specified.


        [Back: WinIMSelectIM Return Value - rc]
        [Next: WinIMSelectIM - Remarks]