vbox的更動 62467 路徑 trunk/src/VBox/HostServices
- 時間撮記:
- 2016-7-22 下午06:01:06 (8 年 以前)
- 位置:
- trunk/src/VBox/HostServices
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostServices/DragAndDrop/service.cpp
r59856 r62467 41 41 42 42 using namespace DragAndDropSvc; 43 43 44 44 45 /********************************************************************************************************************************* … … 211 212 m_paParms = paParms; 212 213 } 214 213 215 214 216 /********************************************************************************************************************************* -
trunk/src/VBox/HostServices/SharedClipboard/VBoxClipboard-win.cpp
r61908 r62467 101 101 { 102 102 Log(("%s\n", pv)); 103 103 104 104 //size_t cb = RTStrNLen(pv, ); 105 105 char* buf = (char*)RTMemAlloc(cb + 1); … … 111 111 buf[i] = ' '; 112 112 } 113 113 114 114 Log(("%s\n", buf)); 115 115 RTMemFree(buf); … … 457 457 SendMessageCallback(hViewer, WM_CHANGECBCHAIN, (WPARAM)pCtx->hwndNextInChain, (LPARAM)pCtx->hwndNextInChain, CBChainPingProc, (ULONG_PTR) pCtx); 458 458 } break; 459 459 460 460 case WM_RENDERFORMAT: 461 461 { … … 504 504 { 505 505 int vboxrc = vboxClipboardReadDataFromClient (pCtx, u32Format); 506 506 507 507 dprintf(("vboxClipboardReadDataFromClient vboxrc = %d, pv %p, cb %d, u32Format %d\n", 508 508 vboxrc, pCtx->pClient->data.pv, pCtx->pClient->data.cb, pCtx->pClient->data.u32Format)); … … 726 726 DispatchMessage(&msg); 727 727 } 728 /* 729 * Window procedure can return error, 730 * but this is exceptional situation 728 /* 729 * Window procedure can return error, 730 * but this is exceptional situation 731 731 * that should be identified in testing 732 732 */ … … 990 990 size_t cch; 991 991 992 if(u32Format == VBOX_SHARED_CLIPBOARD_FMT_HTML && 992 if(u32Format == VBOX_SHARED_CLIPBOARD_FMT_HTML && 993 993 !IsWindowsHTML((const char*)pv)) 994 994 { … … 1036 1036 "Version:1.0\r\n" 1037 1037 "StartHTML:000000101\r\n" 1038 "EndHTML:%09d\r\n" // END HTML = Header length + fragment lengh 1038 "EndHTML:%09d\r\n" // END HTML = Header length + fragment lengh 1039 1039 "StartFragment:000000137\r\n" 1040 1040 "EndFragment:%09d\r\n" … … 1045 1045 "</html>\r\n"; 1046 1046 1047 /* 1047 /* 1048 1048 * Extracts field value from CF_HTML struct 1049 1049 * @src - source in CF_HTML format … … 1079 1079 } 1080 1080 1081 /* 1081 /* 1082 1082 * Check that the source string contains CF_HTML struct 1083 1083 * returns true if the @source string is in CF_HTML format … … 1090 1090 1091 1091 1092 /* 1092 /* 1093 1093 * Converts clipboard data from CF_HTML format to mimie clipboard format 1094 1094 * Returns allocated buffer that contains html converted to text/html mime type 1095 1095 * return result code 1096 1096 * parameters - output buffer and size of output buffer 1097 * It allocates the buffer needed for storing converted fragment 1097 * It allocates the buffer needed for storing converted fragment 1098 1098 * Allocated buffer should be destroyed by RTMemFree after usage 1099 1099 */ … … 1177 1177 1178 1178 char* pszBuf = (char*)pcszSource; 1179 1179 1180 1180 /* construct CF_HTML formatted string */ 1181 1181 char* pszResult = NULL;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器