gui-select-text

gui-select-text is a compiled Lisp function in `select.el'.

(gui-select-text TEXT)

Select TEXT, a string, according to the window system.
if `select-enable-clipboard' is non-nil, copy TEXT to the system's clipboard.
If `select-enable-primary' is non-nil, put TEXT in the primary selection.

MS-Windows does not have a "primary" selection.