VirtualBox

vbox的更動 62467 路徑 trunk/src/VBox/HostServices


忽略:
時間撮記:
2016-7-22 下午06:01:06 (8 年 以前)
作者:
vboxsync
訊息:

HostServices: scm

位置:
trunk/src/VBox/HostServices
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/HostServices/DragAndDrop/service.cpp

    r59856 r62467  
    4141
    4242using namespace DragAndDropSvc;
     43
    4344
    4445/*********************************************************************************************************************************
     
    211212    m_paParms = paParms;
    212213}
     214
    213215
    214216/*********************************************************************************************************************************
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxClipboard-win.cpp

    r61908 r62467  
    101101        {
    102102            Log(("%s\n", pv));
    103            
     103
    104104            //size_t cb = RTStrNLen(pv, );
    105105            char* buf = (char*)RTMemAlloc(cb + 1);
     
    111111                    buf[i] = ' ';
    112112            }
    113            
     113
    114114            Log(("%s\n", buf));
    115115            RTMemFree(buf);
     
    457457                SendMessageCallback(hViewer, WM_CHANGECBCHAIN, (WPARAM)pCtx->hwndNextInChain, (LPARAM)pCtx->hwndNextInChain, CBChainPingProc, (ULONG_PTR) pCtx);
    458458        } break;
    459                        
     459
    460460        case WM_RENDERFORMAT:
    461461        {
     
    504504            {
    505505                int vboxrc = vboxClipboardReadDataFromClient (pCtx, u32Format);
    506                
     506
    507507                dprintf(("vboxClipboardReadDataFromClient vboxrc = %d, pv %p, cb %d, u32Format %d\n",
    508508                          vboxrc, pCtx->pClient->data.pv, pCtx->pClient->data.cb, pCtx->pClient->data.u32Format));
     
    726726                DispatchMessage(&msg);
    727727            }
    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
    731731            * that should be identified in testing
    732732            */
     
    990990        size_t cch;
    991991
    992         if(u32Format == VBOX_SHARED_CLIPBOARD_FMT_HTML && 
     992        if(u32Format == VBOX_SHARED_CLIPBOARD_FMT_HTML &&
    993993            !IsWindowsHTML((const char*)pv))
    994994        {
     
    10361036    "Version:1.0\r\n"
    10371037    "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
    10391039"StartFragment:000000137\r\n"
    10401040"EndFragment:%09d\r\n"
     
    10451045"</html>\r\n";
    10461046
    1047 /* 
     1047/*
    10481048* Extracts field value from CF_HTML struct
    10491049* @src - source in CF_HTML format
     
    10791079}
    10801080
    1081 /* 
     1081/*
    10821082 * Check that the source string contains CF_HTML struct
    10831083 * returns true if the @source string is in CF_HTML format
     
    10901090
    10911091
    1092 /* 
     1092/*
    10931093* Converts clipboard data from CF_HTML format to mimie clipboard format
    10941094* Returns allocated buffer that contains html converted to text/html mime type
    10951095* return result code
    10961096* 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
    10981098* Allocated buffer should be destroyed by RTMemFree after usage
    10991099*/
     
    11771177
    11781178    char* pszBuf = (char*)pcszSource;
    1179    
     1179
    11801180    /* construct CF_HTML formatted string */
    11811181    char* pszResult = NULL;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette