VirtualBox

Ignore:
Timestamp:
Jul 13, 2009 8:18:44 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49972
Message:

COM: missed pieces of scriptability support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r20928 r21520  
    134134        return cnt;
    135135    }
    136     STDMETHOD(QueryInterface) (REFIID riid , void **ppObj)
    137     {
    138         if (riid == IID_IUnknown)
    139         {
    140             *ppObj = this;
    141             AddRef();
    142             return S_OK;
    143         }
    144         if (riid == IID_IConsoleCallback)
    145         {
    146             *ppObj = this;
    147             AddRef();
    148             return S_OK;
    149         }
    150         *ppObj = NULL;
    151         return E_NOINTERFACE;
    152     }
    153 #endif
     136#endif
     137    VBOX_SCRIPTABLE_DISPATCH_IMPL(IConsoleCallback)
    154138
    155139    STDMETHOD(OnMousePointerShapeChange) (BOOL visible, BOOL alpha, ULONG xHot, ULONG yHot,
Note: See TracChangeset for help on using the changeset viewer.

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