search for: setclipboarddata

Displaying 6 results from an estimated 6 matches for "setclipboarddata".

2019 May 23
2
writing Unicode text to the Windows clipboard
.../util.c index 373049495dd..fc3dc39e3a7 100644 --- a/src/library/utils/src/windows/util.c +++ b/src/library/utils/src/windows/util.c @@ -318,7 +318,7 @@ SEXP writeClipboard(SEXP text, SEXP sformat) warning(_("unable to open the clipboard")); GlobalFree(hglb); } else { - success = SetClipboardData(CF_TEXT, hglb) != 0; + success = SetClipboardData(format, hglb) != 0; if(!success) { warning(_("unable to write to the clipboard")); GlobalFree(hglb); Example: "?" is "GREATER-THAN OVER EQUAL TO", which is unicode <U+2267>, has UTF-16LE bytes 67 2...
2019 May 24
0
writing Unicode text to the Windows clipboard
.../util.c index 373049495dd..fc3dc39e3a7 100644 --- a/src/library/utils/src/windows/util.c +++ b/src/library/utils/src/windows/util.c @@ -318,7 +318,7 @@ SEXP writeClipboard(SEXP text, SEXP sformat) warning(_("unable to open the clipboard")); GlobalFree(hglb); } else { - success = SetClipboardData(CF_TEXT, hglb) != 0; + success = SetClipboardData(format, hglb) != 0; if(!success) { warning(_("unable to write to the clipboard")); GlobalFree(hglb); Example: "?" is "GREATER-THAN OVER EQUAL TO", which is unicode <U+2267>, has UTF-16LE bytes 67 2...
2015 Jun 12
0
Wine release 1.7.45
...clipboard windows as full handles. server: Allow opening the clipboard again with the same owner. server: Check for the current owner window on the server side for releases. user32/tests: Add tests for clipboard sequence number and notifications. user32: Disallow format 0 in SetClipboardData. user32/tests: Add tests for calling EmptyClipboard from a different thread. server: Add a request to empty the clipboard. kernel32: Avoid resolving imports against the advapi32 forwards. user32/tests: Add tests for SetClipboardData from a different thread. Alistair Leslie-...
2016 Oct 01
0
Wine release 1.9.20
...p120: Don't add basic_ios::_Add_vtordisp virtual functions. Sebastian Lackner (8): server: Allow to create win32 prefix when directory already exists. server: Fix leak of old clipboard data when replacing existing format. user32: Call GlobalUnlock with the correct argument in SetClipboardData. webservices: Do not return uninitialized hr from write_headers_transport. webservices: Correctly grow buffer size in receive_message. services: Check for services without lpBinaryPathName in get_winedevice_process. server: Handle error when memdup fails in synthesize_format...
2016 Sep 02
0
Wine release 1.9.18
...ulliard (23): server: Add separate requests for opening and closing the clipboard. server: Add a separate request to set the clipboard viewer. user32: Get rid of the CLIPBOARDINFO structure. server: Add a request to return clipboard information. user32: Don't allow SetClipboardData if the clipboard is not open. user32: Don't disallow delayed rendering even when not the clipboard owner. winex11: Don't disallow replacing unowned formats. winex11: Don't try to free custom GDI formats at all. user32/tests: Add a few more clipboard tests....
2010 Jan 08
0
Wine release 1.1.36
...dded IDispatch ConnectionPoint. Reece Dunn (1): Don't generate FIXME warnings for DllCanUnloadNow. Rob Shearman (16): ole32: Release the data object and free the cached enum data upon OleUninitialize. ole32: Fix stream reference leak in test_ReadClassStm. ole32: Handle SetClipboardData failing in OLE clipboard functions. shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine. shell32: Fix memory leaks in autocomplete tests. shell32: Fix a potentially large memory leak in IQueryAssociations_fnGetString. winex11.drv...