Changeset 60759 in vbox
- Timestamp:
- Apr 29, 2016 11:19:23 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106953
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-win.cpp
r57358 r60759 5 5 6 6 /* 7 * Copyright (C) 2012-201 3Oracle Corporation7 * Copyright (C) 2012-2016 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 21 21 *********************************************************************************************************************************/ 22 22 #include <Windows.h> 23 #include <tchar.h> 23 24 24 25 #include <VBox/com/com.h> -
trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdog.cpp
r59907 r60759 146 146 #ifdef RT_OS_WINDOWS 147 147 /* Required for ATL. */ 148 static CComModule _Module;148 static ATL::CComModule _Module; 149 149 #endif 150 150 -
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r59410 r60759 5 5 6 6 /* 7 * Copyright (C) 2006-201 5Oracle Corporation7 * Copyright (C) 2006-2016 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 590 590 #ifdef RT_OS_WINDOWS 591 591 // Required for ATL 592 static CComModule _Module;592 static ATL::CComModule _Module; 593 593 #endif 594 594 -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r60734 r60759 5 5 6 6 /* 7 * Copyright (C) 2006-201 5Oracle Corporation7 * Copyright (C) 2006-2016 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 93 93 # ifdef RT_OS_WINDOWS 94 94 // Required for ATL 95 static CComModule_Module;95 static ATL::CComModule _Module; 96 96 # endif 97 97 -
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r55810 r60759 7 7 8 8 /* 9 * Copyright (C) 2006-201 2Oracle Corporation9 * Copyright (C) 2006-2016 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 152 152 mfInitialized = true; 153 153 #ifdef RT_OS_WINDOWS 154 HRESULT hr = CoCreateFreeThreadedMarshaler(this, //GetControllingUnknown(), 155 &m_pUnkMarshaler.p); 154 HRESULT hr = CoCreateFreeThreadedMarshaler(this, m_pUnkMarshaler.asOutParam()); 156 155 Log(("CoCreateFreeThreadedMarshaler hr %08X\n", hr)); 157 156 #endif … … 1429 1428 1430 1429 /** 1431 * Returns the address of the framebuffer bits for writing to.1432 *1433 * @returns COM status code1434 * @param alpha Address of result buffer.1435 */1436 STDMETHODIMP VBoxSDLFBOverlay::COMGETTER(Address)(ULONG *address)1437 {1438 LogFlow(("VBoxSDLFBOverlay::GetAddress\n"));1439 if (!address)1440 return E_INVALIDARG;1441 *address = (uintptr_t) mOverlayBits->pixels;1442 return S_OK;1443 }1444 1445 /**1446 1430 * Returns the current colour depth. In fact, this is always 32bpp. 1447 1431 * -
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h
r56580 r60759 7 7 8 8 /* 9 * Copyright (C) 2006-201 5Oracle Corporation9 * Copyright (C) 2006-2016 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 44 44 45 45 class ATL_NO_VTABLE VBoxSDLFB : 46 public CComObjectRootEx<CComMultiThreadModel>,46 public ATL::CComObjectRootEx<ATL::CComMultiThreadModel>, 47 47 VBOX_SCRIPTABLE_IMPL(IFramebuffer) 48 48 { … … 67 67 COM_INTERFACE_ENTRY(IFramebuffer) 68 68 COM_INTERFACE_ENTRY2(IDispatch,IFramebuffer) 69 COM_INTERFACE_ENTRY_AGGREGATE(IID_IMarshal, m_pUnkMarshaler. p)69 COM_INTERFACE_ENTRY_AGGREGATE(IID_IMarshal, m_pUnkMarshaler.m_p) 70 70 END_COM_MAP() 71 71 … … 208 208 209 209 #ifdef RT_OS_WINDOWS 210 C ComPtr <IUnknown>m_pUnkMarshaler;210 ComPtr<IUnknown> m_pUnkMarshaler; 211 211 #endif 212 212 }; … … 245 245 STDMETHOD(COMGETTER(Alpha))(ULONG *alpha); 246 246 STDMETHOD(COMSETTER(Alpha))(ULONG alpha); 247 STDMETHOD(COMGETTER(Address))(ULONG *address);248 247 STDMETHOD(COMGETTER(BytesPerLine))(ULONG *bytesPerLine); 249 248 -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r57358 r60759 6 6 7 7 /* 8 * Copyright (C) 2006-201 5Oracle Corporation8 * Copyright (C) 2006-2016 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 739 739 #ifdef RT_OS_WINDOWS 740 740 // Required for ATL 741 static CComModule _Module;741 static ATL::CComModule _Module; 742 742 #endif 743 743
Note:
See TracChangeset
for help on using the changeset viewer.