Changeset 80359 in vbox for trunk/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp
- Timestamp:
- Aug 21, 2019 8:37:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp
r80318 r80359 24 24 #include <VBox/GuestHost/SharedClipboard-uri.h> 25 25 26 /** !!! HACK ALERT !!! Dynamically resolve functions! */27 #ifdef _WIN32_IE28 #undef _WIN32_IE29 #define _WIN32_IE 0x050130 #endif31 32 26 #include <iprt/win/windows.h> 33 27 #include <iprt/win/shlobj.h> … … 55 49 , m_pStream(NULL) 56 50 , m_uObjIdx(0) 51 , m_EventListComplete(NIL_RTSEMEVENT) 52 , m_EventTransferComplete(NIL_RTSEMEVENT) 57 53 { 58 54 AssertPtr(m_pTransfer); … … 136 132 { 137 133 RTSemEventDestroy(m_EventListComplete); 134 m_EventListComplete = NIL_RTSEMEVENT; 135 138 136 RTSemEventDestroy(m_EventTransferComplete); 137 m_EventTransferComplete = NIL_RTSEMEVENT; 139 138 140 139 if (m_pStream) … … 776 775 if (fComplete) 777 776 { 777 if (m_EventTransferComplete != NIL_RTSEMEVENT) 778 { 779 int rc2 = RTSemEventSignal(m_EventTransferComplete); 780 AssertRC(rc2); 781 } 782 } 783 784 LogFlowFuncLeaveRC(rc); 785 } 786 787 void VBoxClipboardWinDataObject::OnTransferCanceled(void) 788 { 789 LogFlowFuncEnter(); 790 791 if (m_EventTransferComplete != NIL_RTSEMEVENT) 792 { 778 793 int rc2 = RTSemEventSignal(m_EventTransferComplete); 779 794 AssertRC(rc2); 780 795 } 781 782 LogFlowFuncLeaveRC(rc);783 }784 785 void VBoxClipboardWinDataObject::OnTransferCanceled(void)786 {787 LogFlowFuncEnter();788 789 int rc2 = RTSemEventSignal(m_EventTransferComplete);790 AssertRC(rc2);791 796 792 797 LogFlowFuncLeave();
Note:
See TracChangeset
for help on using the changeset viewer.