void Input::writeToClipboard(const std::string& text) { #ifndef WITHOUT_SCRAP char basicString[text.length() + 1];strcpy(basicString, text.c_str()); put_scrap(T('T','E','X','T'), text.length(), basicString); #endif // WITHOUT_SCRAP }
void PutScrapX(LONGINT type, LONGINT length, char *p, int scrap_count) { put_scrap(type, length, p); }