Changeset 50460 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Feb 14, 2014 9:46:58 AM (11 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
r50101 r50460 51 51 VBoxDnDDropSource.cpp \ 52 52 VBoxDnDDropTarget.cpp 53 VBoxTray_LIBS += \ 54 $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB) 53 55 endif 54 56 ifdef VBOX_WITH_GUEST_PROPS -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp
r50399 r50460 1402 1402 1403 1403 rc = VbglR3DnDProcessNextMessage(uClientID, &pEvent->Event); 1404 LogFlowFunc(("VbglR3DnDProcessNextMessage returned rc=%Rrc\n", rc)); 1404 LogFlowFunc(("VbglR3DnDProcessNextMessage returned uType=%RU32, rc=%Rrc\n", 1405 pEvent->Event.uType, rc)); 1405 1406 1406 1407 if (ASMAtomicReadBool(&pCtx->fShutdown)) -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDataObject.cpp
r50101 r50460 27 27 #include "VBoxDnD.h" 28 28 29 #ifdef DEBUG 30 /* Enable the following line to get much more debug output about 31 * (un)known clipboard formats. */ 32 //#define VBOX_DND_DEBUG_FORMATS 33 #endif 34 29 35 /** @todo Implement IDataObjectAsyncCapability interface? */ 30 36 … … 188 194 AssertPtrReturn(pMedium, DV_E_FORMATETC); 189 195 190 LogFlowFunc(("pFormatEtc=%p, pMedium=%p\n", pFormatEtc, pMedium));191 192 196 ULONG lIndex; 193 197 if (!LookupFormatEtc(pFormatEtc, &lIndex)) /* Format supported? */ … … 195 199 if (lIndex >= mcFormats) /* Paranoia. */ 196 200 return DV_E_FORMATETC; 201 202 LogFlowFunc(("pFormatEtc=%p, pMedium=%p\n", pFormatEtc, pMedium)); 197 203 198 204 FORMATETC *pThisFormat = &mpFormatEtc[lIndex]; … … 474 480 const char* VBoxDnDDataObject::ClipboardFormatToString(CLIPFORMAT fmt) 475 481 { 482 #ifdef VBOX_DND_DEBUG_FORMATS 476 483 char szFormat[128]; 477 484 if (GetClipboardFormatName(fmt, szFormat, sizeof(szFormat))) 478 485 LogFlowFunc(("wFormat=%RI16, szName=%s\n", fmt, szFormat)); 486 #endif 479 487 480 488 switch (fmt) … … 572 580 } 573 581 582 #ifdef VBOX_DND_DEBUG_FORMATS 574 583 LogFlowFunc(("Format NOT found: tyMed=%RI32, cfFormat=%RI16, sFormats=%s, dwAspect=%RI32\n", 575 584 pFormatEtc->tymed, pFormatEtc->cfFormat, VBoxDnDDataObject::ClipboardFormatToString(pFormatEtc->cfFormat), 576 585 pFormatEtc->dwAspect)); 577 586 #endif 578 587 return false; 579 588 }
Note:
See TracChangeset
for help on using the changeset viewer.