Example #1
0
static int
cpbEndOperation (const wchar_t *characters, size_t length) {
  cpbTruncateContent(beginOffset);
  if (!cpbAddContent(characters, length)) return 0;
  playTune(&tune_clipboard_end);
  return 1;
}
Example #2
0
void
cpbClearContent (void) {
  size_t length;
  const wchar_t *characters = cpbGetContent(&length);

  cpbPushContent(characters, length);
  cpbTruncateContent(0);
}
Example #3
0
void
cpbClearContent (void) {
  cpbTruncateContent(0);
}