Copies either selected text or the whole text to the Clipboard in CF_TEXT format.
Call this function to copy either selected text or the whole text buffer to the Clipboard. The function fails (returns FALSE) in the following cases: