Changeset 63104 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Aug 6, 2016 4:00:44 PM (8 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDataObject.cpp
r62679 r63104 208 208 LogFlowFunc(("Waiting for event ...\n")); 209 209 int rc2 = RTSemEventWait(mSemEvent, RT_INDEFINITE_WAIT); 210 LogFlowFunc(("rc =%Rrc, mStatus=%ld\n", rc2, mStatus));210 LogFlowFunc(("rc2=%Rrc, mStatus=%ld\n", rc2, mStatus)); NOREF(rc2); 211 211 } 212 212 … … 441 441 STDMETHODIMP VBoxDnDDataObject::GetDataHere(LPFORMATETC pFormatEtc, LPSTGMEDIUM pMedium) 442 442 { 443 RT_NOREF(pFormatEtc, pMedium); 443 444 LogFlowFunc(("\n")); 444 445 return DATA_E_FORMATETC; … … 458 459 } 459 460 460 STDMETHODIMP VBoxDnDDataObject::GetCanonicalFormatEtc(LPFORMATETC pFormatEct, LPFORMATETC pFormatEtcOut) 461 { 461 STDMETHODIMP VBoxDnDDataObject::GetCanonicalFormatEtc(LPFORMATETC pFormatEtc, LPFORMATETC pFormatEtcOut) 462 { 463 RT_NOREF(pFormatEtc); 462 464 LogFlowFunc(("\n")); 463 465 … … 467 469 } 468 470 469 STDMETHODIMP VBoxDnDDataObject::SetData(LPFORMATETC pFormatEtc, LPSTGMEDIUM pMedium, BOOL fRelease) 470 { 471 STDMETHODIMP VBoxDnDDataObject::SetData(LPFORMATETC pFormatEtc, LPSTGMEDIUM pMedium, BOOL fRelease) 472 { 473 RT_NOREF(pFormatEtc, pMedium, fRelease); 471 474 return E_NOTIMPL; 472 475 } … … 474 477 STDMETHODIMP VBoxDnDDataObject::EnumFormatEtc(DWORD dwDirection, IEnumFORMATETC **ppEnumFormatEtc) 475 478 { 476 LogFlowFunc(("dwDirection=%RI32, mcFormats=%RI32, mpFormatEtc=%p\n", 477 dwDirection, mcFormats, mpFormatEtc)); 479 LogFlowFunc(("dwDirection=%RI32, mcFormats=%RI32, mpFormatEtc=%p\n", dwDirection, mcFormats, mpFormatEtc)); 478 480 479 481 HRESULT hr; 480 482 if (dwDirection == DATADIR_GET) 481 {482 483 hr = VBoxDnDEnumFormatEtc::CreateEnumFormatEtc(mcFormats, mpFormatEtc, ppEnumFormatEtc); 483 }484 484 else 485 485 hr = E_NOTIMPL; … … 489 489 } 490 490 491 STDMETHODIMP VBoxDnDDataObject::DAdvise(LPFORMATETC pFormatEtc, DWORD advf, IAdviseSink *pAdvSink, DWORD *pdwConnection) 492 { 491 STDMETHODIMP VBoxDnDDataObject::DAdvise(LPFORMATETC pFormatEtc, DWORD fAdvise, IAdviseSink *pAdvSink, DWORD *pdwConnection) 492 { 493 RT_NOREF(pFormatEtc, fAdvise, pAdvSink, pdwConnection); 493 494 return OLE_E_ADVISENOTSUPPORTED; 494 495 } … … 496 497 STDMETHODIMP VBoxDnDDataObject::DUnadvise(DWORD dwConnection) 497 498 { 499 RT_NOREF(dwConnection); 498 500 return OLE_E_ADVISENOTSUPPORTED; 499 501 } … … 501 503 STDMETHODIMP VBoxDnDDataObject::EnumDAdvise(IEnumSTATDATA **ppEnumAdvise) 502 504 { 505 RT_NOREF(ppEnumAdvise); 503 506 return OLE_E_ADVISENOTSUPPORTED; 504 507 } -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDropTarget.cpp
r62679 r63104 43 43 { 44 44 int rc = RTSemEventCreate(&hEventDrop); 45 LogFlowFunc(("rc=%Rrc\n", rc)); 45 LogFlowFunc(("rc=%Rrc\n", rc)); NOREF(rc); 46 46 } 47 47 … … 129 129 */ 130 130 131 STDMETHODIMP VBoxDnDDropTarget::DragEnter(IDataObject *pDataObject, DWORD grfKeyState, 132 POINTL pt, DWORD *pdwEffect) 133 { 131 STDMETHODIMP VBoxDnDDropTarget::DragEnter(IDataObject *pDataObject, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) 132 { 133 RT_NOREF(pt); 134 134 AssertPtrReturn(pDataObject, E_INVALIDARG); 135 135 AssertPtrReturn(pdwEffect, E_INVALIDARG); … … 229 229 STDMETHODIMP VBoxDnDDropTarget::DragOver(DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) 230 230 { 231 RT_NOREF(pt); 231 232 AssertPtrReturn(pdwEffect, E_INVALIDARG); 232 233 … … 265 266 } 266 267 267 STDMETHODIMP VBoxDnDDropTarget::Drop(IDataObject *pDataObject, 268 DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) 269 { 268 STDMETHODIMP VBoxDnDDropTarget::Drop(IDataObject *pDataObject, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) 269 { 270 RT_NOREF(pt); 270 271 AssertPtrReturn(pDataObject, E_INVALIDARG); 271 272 AssertPtrReturn(pdwEffect, E_INVALIDARG); -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxLA.cpp
r62679 r63104 911 911 int l; 912 912 913 char **pClientInfoMap[LA_UTCINFO_CLIENT_INFO_LAST + 1] = { 914 &pCtx->activeClient.pszPropName, 915 &pCtx->activeClient.pszPropIPAddr, 916 &pCtx->activeClient.pszPropLocation, 917 &pCtx->activeClient.pszPropOtherInfo, 918 }; 919 920 pCtx->activeClient.u32LastAttach = ~0; 913 char **pClientInfoMap[LA_UTCINFO_CLIENT_INFO_LAST + 1] = 914 { 915 &pCtx->activeClient.pszPropName, 916 &pCtx->activeClient.pszPropIPAddr, 917 &pCtx->activeClient.pszPropLocation, 918 &pCtx->activeClient.pszPropOtherInfo, 919 }; 920 921 pCtx->activeClient.u32LastAttach = UINT32_MAX; 921 922 pCtx->activeClient.u64LastAttachTimestamp = u64ActiveClientTS; 922 923 … … 1083 1084 1084 1085 uint64_t u64Timestamp = 0; 1085 uint32_t u32Attach = ~0;1086 uint32_t u32Attach = UINT32_MAX; 1086 1087 1087 1088 int rc = laGetUint32(pCtx->u32GuestPropHandle,
Note:
See TracChangeset
for help on using the changeset viewer.