VirtualBox

Changeset 62780 in vbox


Ignore:
Timestamp:
Jul 31, 2016 10:48:58 PM (9 years ago)
Author:
vboxsync
Message:

Wrap objbase.h + objidl.h too.

Location:
trunk
Files:
2 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/defs.h

    r60766 r62780  
    7575#if !defined(VBOX_WITH_XPCOM)
    7676
    77 #if defined(RT_OS_WINDOWS)
     77#ifdef RT_OS_WINDOWS
    7878
    7979// Windows COM
    8080/////////////////////////////////////////////////////////////////////////////
    8181
    82 #include <objbase.h>
    83 #ifndef VBOX_COM_NO_ATL
     82# include <iprt/win/objbase.h>
     83# ifndef VBOX_COM_NO_ATL
    8484
    8585/* Do not use actual ATL, just provide a superficial lookalike ourselves. */
    86 # include <VBox/com/microatl.h>
    87 #endif /* VBOX_COM_NO_ATL */
    88 
    89 #define NS_DECL_ISUPPORTS
    90 #define NS_IMPL_ISUPPORTS1_CI(a, b)
     86#  include <VBox/com/microatl.h>
     87# endif /* VBOX_COM_NO_ATL */
     88
     89# define NS_DECL_ISUPPORTS
     90# define NS_IMPL_ISUPPORTS1_CI(a, b)
    9191
    9292/* these are XPCOM only, one for every interface implemented */
    93 #define NS_DECL_ISUPPORTS
     93# define NS_DECL_ISUPPORTS
    9494
    9595/** Returns @c true if @a rc represents a warning result code */
    96 #define SUCCEEDED_WARNING(rc)   (SUCCEEDED(rc) && (rc) != S_OK)
     96# define SUCCEEDED_WARNING(rc)   (SUCCEEDED(rc) && (rc) != S_OK)
    9797
    9898/** Tests is a COM result code indicates that the process implementing the
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp

    r62761 r62780  
    2525#include <cfgmgr32.h>
    2626#include <tchar.h>
    27 #include <objbase.h>
     27#include <iprt/win/objbase.h>
    2828
    2929#include <crtdbg.h>
  • trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp

    r62779 r62780  
    4141#include <guiddef.h>
    4242#include <devguid.h>
    43 #include <objbase.h>
     43#include <iprt/win/objbase.h>
    4444#include <iprt/win/setupapi.h>
    4545#include <shlobj.h>
  • trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp

    r62679 r62780  
    3131#include <lmerr.h>
    3232#include <msiquery.h>
    33 #include <objbase.h>
     33#include <iprt/win/objbase.h>
    3434
    3535#include <shlobj.h>
  • trunk/src/VBox/Main/glue/com.cpp

    r62485 r62780  
    1818#if !defined (VBOX_WITH_XPCOM)
    1919
    20 # include <objbase.h>
     20# include <iprt/win/objbase.h>
    2121
    2222#else /* !defined (VBOX_WITH_XPCOM) */
  • trunk/src/VBox/Main/glue/initterm.cpp

    r62485 r62780  
    2020
    2121# include <iprt/nt/nt-and-windows.h>
    22 # include <objbase.h>
     22# include <iprt/win/objbase.h>
    2323
    2424#else /* !defined(VBOX_WITH_XPCOM) */
  • trunk/src/VBox/Main/src-helper-apps/VBoxExtPackHelperApp.cpp

    r62774 r62780  
    4949# define _WIN32_WINNT 0x0501
    5050# include <iprt/win/windows.h>          /* ShellExecuteEx, ++ */
    51 # include <Objbase.h>                   /* CoInitializeEx */
     51# include <iprt/win/objbase.h>                   /* CoInitializeEx */
    5252# ifdef DEBUG
    5353#  include <Sddl.h>
  • trunk/src/VBox/Main/src-server/HostImpl.cpp

    r62686 r62780  
    123123# include <guiddef.h>
    124124# include <devguid.h>
    125 # include <objbase.h>
     125# include <iprt/win/objbase.h>
    126126//# include <iprt/win/setupapi.h>
    127127# include <shlobj.h>
  • trunk/src/VBox/Main/src-server/win/NetIf-win.cpp

    r62761 r62780  
    5959#include <guiddef.h>
    6060#include <devguid.h>
    61 #include <objbase.h>
     61#include <iprt/win/objbase.h>
    6262#include <iprt/win/setupapi.h>
    6363#include <shlobj.h>
  • trunk/src/VBox/Main/testcase/tstCollector.cpp

    r62485 r62780  
    3535#ifdef RT_OS_WINDOWS
    3636# define _WIN32_DCOM
    37 # include <objidl.h>
    38 # include <objbase.h>
     37# include <iprt/win/objidl.h>
     38# include <iprt/win/objbase.h>
    3939# include "../src-server/win/PerformanceWin.cpp"
    4040#endif
Note: See TracChangeset for help on using the changeset viewer.

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