VirtualBox

Ignore:
Timestamp:
Jul 13, 2009 8:18:44 AM (16 years ago)
Author:
vboxsync
Message:

COM: missed pieces of scriptability support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxFrameBuffer.h

    r21490 r21520  
    178178        return cnt;
    179179    }
    180 
    181     STDMETHOD(QueryInterface) (REFIID riid , void **ppObj)
    182     {
    183         if (riid == IID_IUnknown) {
    184             *ppObj = this;
    185             AddRef();
    186             return S_OK;
    187         }
    188         if (riid == IID_IFramebuffer) {
    189             *ppObj = this;
    190             AddRef();
    191             return S_OK;
    192         }
    193         *ppObj = NULL;
    194         return E_NOINTERFACE;
    195     }
    196 
    197 #endif
     180#endif
     181    VBOX_SCRIPTABLE_DISPATCH_IMPL(IFramebuffer)
    198182
    199183    // IFramebuffer COM methods
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