VirtualBox

Changeset 3576 in vbox


Ignore:
Timestamp:
Jul 12, 2007 10:24:41 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22822
Message:

Main: Beautified method/property names in COM interfaces.

Location:
trunk/src/VBox
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/Framebuffer.h

    r3569 r3576  
    5252                                   ULONG width, ULONG height, BOOL *handled) = 0;
    5353
    54     virtual HRESULT GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect) = 0;
    55     virtual HRESULT SetVisibleRegion(ULONG aCRect, BYTE * aPRect) = 0;
     54    virtual HRESULT GetVisibleRegion(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied) = 0;
     55    virtual HRESULT SetVisibleRegion(BYTE *aRectangles, ULONG aCount) = 0;
    5656
    5757    virtual void    repaint() = 0;
  • trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.cpp

    r3569 r3576  
    324324}
    325325
    326 HRESULT SDLFramebuffer::GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect)
    327 {
    328     PRTRECT paRect = (PRTRECT)aPRect;
    329 
    330     if (!paRect || !aPcRect)
     326HRESULT SDLFramebuffer::GetVisibleRegion(BYTE *aRectangles, ULONG aCount,
     327                                         ULONG *aCountCopied)
     328{
     329    PRTRECT rects = (PRTRECT)aRectangles;
     330
     331    if (!rects)
    331332        return E_POINTER;
    332333
    333     /* @todo */
    334     return S_OK;
    335 }
    336 
    337 HRESULT SDLFramebuffer::SetVisibleRegion(ULONG aCRect, BYTE * aPRect)
    338 {
    339     PRTRECT paRect = (PRTRECT)aPRect;
    340 
    341     if (!paRect)
     334        /// @todo
     335
     336        NOREF(aCount);
     337        NOREF(aCountCopied);
     338
     339    return S_OK;
     340}
     341
     342HRESULT SDLFramebuffer::SetVisibleRegion(BYTE *aRectangles, ULONG aCount)
     343{
     344    PRTRECT rects = (PRTRECT)aRectangles;
     345
     346    if (!rects)
    342347        return E_POINTER;
    343348
    344     /* @todo */
     349        /// @todo
     350
     351        NOREF(aCount);
     352
    345353    return S_OK;
    346354}
  • trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.h

    r3569 r3576  
    5757    virtual HRESULT CopyScreenBits(ULONG xDst, ULONG yDst, ULONG xSrc, ULONG ySrc,
    5858                                   ULONG width, ULONG height, BOOL *handled);
    59     virtual HRESULT GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect);
    60     virtual HRESULT SetVisibleRegion(ULONG aCRect, BYTE * aPRect);
     59    virtual HRESULT GetVisibleRegion(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied);
     60    virtual HRESULT SetVisibleRegion(BYTE *aRectangles, ULONG aCount);
    6161
    6262    virtual void    repaint();
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r3496 r3576  
    10601060                Bstr pipe;
    10611061                BOOL fServer;
    1062                 uart->COMGETTER(Irq)(&uIRQ);
    1063                 uart->COMGETTER(Iobase)(&uIOBase);
     1062                uart->COMGETTER(IRQ)(&uIRQ);
     1063                uart->COMGETTER(IOBase)(&uIOBase);
    10641064                uart->COMGETTER(Pipe)(pipe.asOutParam());
    10651065                uart->COMGETTER(Server)(&fServer);
     
    40554055                else
    40564056                {
    4057                     CHECK_ERROR_RET(uart, COMSETTER(Iobase) (uarts_base[n]), 1);
    4058                     CHECK_ERROR_RET(uart, COMSETTER(Irq) (uarts_irq[n]), 1);
     4057                    CHECK_ERROR_RET(uart, COMSETTER(IOBase) (uarts_base[n]), 1);
     4058                    CHECK_ERROR_RET(uart, COMSETTER(IRQ) (uarts_irq[n]), 1);
    40594059                    CHECK_ERROR_RET(uart, COMSETTER(Pipe) (Bstr(uarts_pipe[n])), 1);
    40604060                    CHECK_ERROR_RET(uart, COMSETTER(Server)
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp

    r3575 r3576  
    601601}
    602602
    603 STDMETHODIMP VBoxSDLFB::GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect)
    604 {
    605     PRTRECT paRect = (PRTRECT)aPRect;
    606 
    607     if (!aPcRect)
     603STDMETHODIMP VBoxSDLFB::GetVisibleRegion(BYTE *aRectangles, ULONG aCount,
     604                                         ULONG *aCountCopied)
     605{
     606    PRTRECT rects = (PRTRECT)aRectangles;
     607
     608    if (!rects)
    608609        return E_POINTER;
    609610
    610     /* @todo */
    611     return S_OK;
    612 }
    613 
    614 STDMETHODIMP VBoxSDLFB::SetVisibleRegion(ULONG aCRect, BYTE * aPRect)
    615 {
    616     PRTRECT paRect = (PRTRECT)aPRect;
    617 
    618     if (!paRect)
     611    /// @todo
     612
     613        NOREF(aCount);
     614        NOREF(aCountCopied);
     615
     616    return S_OK;
     617}
     618
     619STDMETHODIMP VBoxSDLFB::SetVisibleRegion(BYTE *aRectangles, ULONG aCount)
     620{
     621    PRTRECT rects = (PRTRECT)aRectangles;
     622
     623    if (!rects)
    619624        return E_POINTER;
    620625
    621     /* @todo */
     626    /// @todo
     627
     628        NOREF(aCount);
     629
    622630    return S_OK;
    623631}
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h

    r3571 r3576  
    109109                              ULONG width, ULONG height, BOOL *handled);
    110110
    111     STDMETHOD(GetVisibleRegion)(ULONG * aPcRect, BYTE * aPRect);
    112     STDMETHOD(SetVisibleRegion)(ULONG aCRect, BYTE * aPRect);
     111    STDMETHOD(GetVisibleRegion)(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied);
     112    STDMETHOD(SetVisibleRegion)(BYTE *aRectangles, ULONG aCount);
    113113
    114114    // internal public methods
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxFrameBuffer.h

    r3571 r3576  
    231231    STDMETHOD(CopyScreenBits) (ULONG aXDst, ULONG aYDst, ULONG aXSrc, ULONG aYSrc,
    232232                               ULONG aWidth, ULONG aHeight, BOOL *aHandled);
    233     STDMETHOD(GetVisibleRegion)(ULONG * aPcRect, BYTE * aPRect);
    234     STDMETHOD(SetVisibleRegion)(ULONG aCRect, BYTE * aPRect);
     233
     234    STDMETHOD(GetVisibleRegion)(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied);
     235    STDMETHOD(SetVisibleRegion)(BYTE *aRectangles, ULONG aCount);
    235236
    236237    // Helper functions
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFrameBuffer.cpp

    r3575 r3576  
    259259}
    260260
    261 STDMETHODIMP VBoxFrameBuffer::GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect)
    262 {
    263     PRTRECT paRect = (PRTRECT)aPRect;
    264 
    265     if (!aPcRect)
    266         return E_POINTER;
    267 
    268     /* @todo */
    269     return S_OK;
    270 }
    271 
    272 STDMETHODIMP VBoxFrameBuffer::SetVisibleRegion(ULONG aCRect, BYTE * aPRect)
    273 {
    274     PRTRECT paRect = (PRTRECT)aPRect;
    275 
    276     if (!paRect)
    277         return E_POINTER;
    278 
    279     /* @todo */
     261STDMETHODIMP VBoxFrameBuffer::GetVisibleRegion(BYTE *aRectangles, ULONG aCount,
     262                                               ULONG *aCountCopied)
     263{
     264    PRTRECT rects = (PRTRECT)aRectangles;
     265
     266    if (!rects)
     267        return E_POINTER;
     268
     269        /// @todo
     270
     271        NOREF(aCount);
     272        NOREF(aCountCopied);
     273
     274    return S_OK;
     275}
     276
     277STDMETHODIMP VBoxFrameBuffer::SetVisibleRegion(BYTE *aRectangles, ULONG aCount)
     278{
     279    PRTRECT rects = (PRTRECT)aRectangles;
     280
     281    if (!rects)
     282        return E_POINTER;
     283
     284        /// @todo
     285
     286        NOREF(aCount);
     287
    280288    return S_OK;
    281289}
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r3566 r3576  
    54175417        Bstr  pipe;
    54185418        BOOL  fServer;
    5419         hrc = serialPort->COMGETTER(Irq)(&uIRQ);                                    H();
    5420         hrc = serialPort->COMGETTER(Iobase)(&uIOBase);                              H();
     5419        hrc = serialPort->COMGETTER(IRQ)(&uIRQ);                                    H();
     5420        hrc = serialPort->COMGETTER(IOBase)(&uIOBase);                              H();
    54215421        hrc = serialPort->COMGETTER(Pipe)(pipe.asOutParam());                       H();
    54225422        hrc = serialPort->COMGETTER(Server)(&fServer);                              H();
  • trunk/src/VBox/Main/DisplayImpl.cpp

    r3398 r3576  
    14181418}
    14191419
    1420 STDMETHODIMP Display::SetFramebuffer (ULONG aScreenId, IFramebuffer * aFramebuffer)
     1420STDMETHODIMP Display::SetFramebuffer (ULONG aScreenId, IFramebuffer *aFramebuffer)
    14211421{
    14221422    LogFlowFunc (("\n"));
     
    14571457}
    14581458
    1459 STDMETHODIMP Display::QueryFramebuffer (ULONG aScreenId, IFramebuffer * * aFramebuffer, LONG * aXOrigin, LONG * aYOrigin)
     1459STDMETHODIMP Display::GetFramebuffer (ULONG aScreenId, IFramebuffer **aFramebuffer, LONG *aXOrigin, LONG *aYOrigin)
    14601460{
    14611461    LogFlowFunc (("aScreenId = %d\n", aScreenId));
  • trunk/src/VBox/Main/FramebufferImpl.cpp

    r3575 r3576  
    241241}
    242242
    243 STDMETHODIMP InternalFramebuffer::GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect)
    244 {
    245     PRTRECT paRect = (PRTRECT)aPRect;
    246 
    247     if (!aPcRect)
    248         return E_POINTER;
    249 
    250     NOREF(paRect);
    251     return S_OK;
    252 }
    253 
    254 STDMETHODIMP InternalFramebuffer::SetVisibleRegion(ULONG aCRect, BYTE * aPRect)
    255 {
    256     PRTRECT paRect = (PRTRECT)aPRect;
    257 
    258     if (!paRect)
    259         return E_POINTER;
    260 
    261     NOREF(paRect);
    262     return S_OK;
    263 }
     243STDMETHODIMP InternalFramebuffer::GetVisibleRegion(BYTE *aRectangles, ULONG aCount,
     244                                                   ULONG *aCountCopied)
     245{
     246    PRTRECT rects = (PRTRECT)aRectangles;
     247
     248    if (!rects)
     249        return E_POINTER;
     250
     251        /// @todo
     252
     253        NOREF(rects);
     254        NOREF(aCount);
     255        NOREF(aCountCopied);
     256
     257    return S_OK;
     258}
     259
     260STDMETHODIMP InternalFramebuffer::SetVisibleRegion(BYTE *aRectangles, ULONG aCount)
     261{
     262    PRTRECT rects = (PRTRECT)aRectangles;
     263
     264    if (!rects)
     265        return E_POINTER;
     266
     267        /// @todo
     268
     269        NOREF(rects);
     270        NOREF(aCount);
     271
     272    return S_OK;
     273}
  • trunk/src/VBox/Main/SerialPortImpl.cpp

    r3501 r3576  
    274274    mData->mEnabled = fEnabled;
    275275    mData->mSlot    = uSlot;
    276     mData->mIobase  = uIOBase;
    277     mData->mIrq     = uIRQ;
     276    mData->mIOBase  = uIOBase;
     277    mData->mIRQ     = uIRQ;
    278278    mData->mPipe    = pipe;
    279279    mData->mServer  = fServer;
     
    297297    CFGLDRSetUInt32 (portNode, "slot",    mData->mSlot);
    298298    CFGLDRSetBool   (portNode, "enabled", !!mData->mEnabled);
    299     CFGLDRSetUInt32 (portNode, "IOBase",  mData->mIobase);
    300     CFGLDRSetUInt32 (portNode, "IRQ",     mData->mIrq);
     299    CFGLDRSetUInt32 (portNode, "IOBase",  mData->mIOBase);
     300    CFGLDRSetUInt32 (portNode, "IRQ",     mData->mIRQ);
    301301    CFGLDRSetBSTR   (portNode, "pipe",    mData->mPipe);
    302302    CFGLDRSetBool   (portNode, "server",  !!mData->mServer);
     
    365365}
    366366
    367 STDMETHODIMP SerialPort::COMGETTER(Irq) (ULONG *aIrq)
    368 {
    369     if (!aIrq)
     367STDMETHODIMP SerialPort::COMGETTER(IRQ) (ULONG *aIRQ)
     368{
     369    if (!aIRQ)
    370370        return E_POINTER;
    371371
     
    375375    AutoReaderLock alock (this);
    376376
    377     *aIrq = mData->mIrq;
    378 
    379     return S_OK;
    380 }
    381 
    382 STDMETHODIMP SerialPort::COMSETTER(Irq)(ULONG aIrq)
     377    *aIRQ = mData->mIRQ;
     378
     379    return S_OK;
     380}
     381
     382STDMETHODIMP SerialPort::COMSETTER(IRQ)(ULONG aIRQ)
    383383{
    384384    AutoCaller autoCaller (this);
     
    394394    bool emitChangeEvent = false;
    395395
    396     if (mData->mIrq != aIrq)
     396    if (mData->mIRQ != aIRQ)
    397397    {
    398398        mData.backup();
    399         mData->mIrq = aIrq;
     399        mData->mIRQ = aIRQ;
    400400        emitChangeEvent = true;
    401401    }
     
    412412}
    413413
    414 STDMETHODIMP SerialPort::COMGETTER(Iobase) (ULONG *aIobase)
    415 {
    416     if (!aIobase)
     414STDMETHODIMP SerialPort::COMGETTER(IOBase) (ULONG *aIOBase)
     415{
     416    if (!aIOBase)
    417417        return E_POINTER;
    418418
     
    422422    AutoReaderLock alock (this);
    423423
    424     *aIobase = mData->mIobase;
    425 
    426     return S_OK;
    427 }
    428 
    429 STDMETHODIMP SerialPort::COMSETTER(Iobase)(ULONG aIobase)
     424    *aIOBase = mData->mIOBase;
     425
     426    return S_OK;
     427}
     428
     429STDMETHODIMP SerialPort::COMSETTER(IOBase)(ULONG aIOBase)
    430430{
    431431    AutoCaller autoCaller (this);
     
    441441    bool emitChangeEvent = false;
    442442
    443     if (mData->mIobase != aIobase)
     443    if (mData->mIOBase != aIOBase)
    444444    {
    445445        mData.backup();
    446         mData->mIobase = aIobase;
     446        mData->mIOBase = aIOBase;
    447447        emitChangeEvent = true;
    448448    }
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r3571 r3576  
    18521852  <interface
    18531853     name="IBIOSSettings" extends="$unknown"
    1854      uuid="946b83be-c5aa-4089-859d-db694f57d5ef"
     1854     uuid="38b54279-dc35-4f5e-a431-835b867c6b5e"
    18551855     wsmap="struct"
    18561856     >
    1857     <attribute name="LogoFadeIn" type="boolean">
     1857    <attribute name="logoFadeIn" type="boolean">
    18581858      <desc>Fade in flag for BIOS logo animation.</desc>
    18591859    </attribute>
    18601860
    1861     <attribute name="LogoFadeOut" type="boolean">
     1861    <attribute name="logoFadeOut" type="boolean">
    18621862      <desc>Fade out flag for BIOS logo animation.</desc>
    18631863    </attribute>
    18641864
    1865     <attribute name="LogoDisplayTime" type="unsigned long">
     1865    <attribute name="logoDisplayTime" type="unsigned long">
    18661866      <desc>BIOS logo display time in milliseconds (0 = default).</desc>
    18671867    </attribute>
    18681868
    1869     <attribute name="LogoImagePath" type="wstring">
     1869    <attribute name="logoImagePath" type="wstring">
    18701870      <desc>Local file system path for external BIOS image.</desc>
    18711871    </attribute>
    18721872
    1873     <attribute name="BootMenuMode" type="BIOSBootMenuMode">
     1873    <attribute name="bootMenuMode" type="BIOSBootMenuMode">
    18741874      <desc>Mode of the BIOS boot device menu.</desc>
    18751875    </attribute>
     
    18861886    </attribute>
    18871887
    1888     <attribute name="TimeOffset" type="long long">
     1888    <attribute name="timeOffset" type="long long">
    18891889      <desc>
    18901890        Offset in milliseconds from the host system time. This allows for
     
    61366136  <interface
    61376137     name="IFramebuffer" extends="$unknown"
    6138      uuid="b47af7e6-acb1-4a75-ab4e-ec67b8125e1c"
     6138     uuid="450058a4-fef0-4987-81c2-7b89bfc2242f"
    61396139     wsmap="suppress"
    61406140     >
     
    63216321    <method name="solidFill">
    63226322      <desc>
    6323         Fill the specified rectangle on screen with a solid color.
     6323        Fills the specified rectangle on screen with a solid color.
    63246324      </desc>
    63256325      <param name="x" type="unsigned long" dir="in"/>
     
    63336333    <method name="copyScreenBits">
    63346334      <desc>
    6335         Copy specified rectangle on the screen.
     6335        Copies specified rectangle on the screen.
    63366336      </desc>
    63376337      <param name="xDst" type="unsigned long" dir="in"/>
     
    63466346    <method name="getVisibleRegion">
    63476347      <desc>
    6348         Query the visible region
    6349       </desc>
    6350       <param name="pcRect" type="unsigned long" dir="out"/>
    6351       <param name="pRect" type="octet" mod="ptr" dir="in"/>
     6348        Returns the visible region of this framebuffer.
     6349
     6350        If the @a rectangles parameter is <tt>NULL</tt> then the value of the
     6351        @a count parameter is ignored and the number of elements necessary to
     6352        describe the current visible region is returned in @a countCopied.
     6353
     6354        If @a rectangles is not <tt>NULL</tt> but @a count is less
     6355        than the required number of elements to store region data, the method
     6356        will report a failure. If @a count is equal or greater than the
     6357        required number of elements, then the actual number of elements copied
     6358        to the provided array will be returned in @a countCopied.
     6359
     6360        <note>
     6361          The address of the provided array must be in the process space of
     6362          this IFramebuffer object.
     6363        </note>
     6364      </desc>
     6365      <param name="rectangles" type="octet" mod="ptr" dir="in">
     6366        <desc>Pointer to the <tt>RTRECT</tt> array to receive region data.</desc>
     6367      </param>
     6368      <param name="count" type="unsigned long" dir="in">
     6369        <desc>Number of <tt>RTRECT</tt> elements in the @a rectangles array.</desc>
     6370      </param>
     6371      <param name="countCopied" type="unsigned long" dir="return">
     6372        <desc>Number of elements copied to the @a rectangles array.</desc>
     6373      </param>
    63526374    </method>
    63536375
    63546376    <method name="setVisibleRegion">
    63556377      <desc>
    6356         Set the visible region
    6357       </desc>
    6358       <param name="cRect" type="unsigned long" dir="in"/>
    6359       <param name="pRect" type="octet" mod="ptr" dir="in"/>
     6378        Suggests a new visible region to this framebuffer.  This region
     6379        represents the area of the VM display which is a union of regions of
     6380        all top-level windows of the guest operating system running inside the
     6381        VM (if the Guest Additions for this system support this
     6382        functionality). This information may be used by the frontends to
     6383        implement the seamless desktop integration feature.
     6384
     6385        <note>
     6386          The address of the provided array must be in the process space of
     6387          this IFramebuffer object.
     6388        </note>
     6389        <note>
     6390          The IFramebuffer implementation must make a copy of the provided
     6391          array of rectangles.
     6392        </note>
     6393      </desc>
     6394      <param name="rectangles" type="octet" mod="ptr" dir="in">
     6395        <desc>Pointer to the <tt>RTRECT</tt> array.</desc>
     6396      </param>
     6397      <param name="count" type="unsigned long" dir="in">
     6398        <desc>Number of <tt>RTRECT</tt> elements in the @a rectangles array.</desc>
     6399      </param>
    63606400    </method>
    63616401
     
    64626502    </method>
    64636503
    6464     <method name="queryFramebuffer">
     6504    <method name="getFramebuffer">
    64656505      <desc>
    64666506        Queries the framebuffer for given screen.
     
    66986738  <interface
    66996739     name="ISerialPort" extends="$unknown"
    6700      uuid="924107d2-1cac-4fc8-93be-e2d54f78dc67"
     6740     uuid="a5ab0989-0ca9-4d5e-b565-f7739b92bb0c"
    67016741     wsmap="managed"
    67026742     >
     
    67176757    </attribute>
    67186758
    6719     <attribute name="iobase" type="unsigned long">
     6759    <attribute name="IOBase" type="unsigned long">
    67206760      <desc>Gets the I/O base of the serial port.</desc>
    67216761    </attribute>
    67226762
    6723     <attribute name="irq" type="unsigned long">
     6763    <attribute name="IRQ" type="unsigned long">
    67246764      <desc>Gets the IRQ of the serial port.</desc>
    67256765    </attribute>
     
    67436783  <interface
    67446784     name="IMachineDebugger" extends="$unknown"
    6745      uuid="288da658-74fa-4877-ab5c-dafdad19a1cd"
     6785     uuid="358b05cd-6d43-42b9-9c2b-75d466a58cfc"
    67466786     wsmap="suppress"
    67476787     >
     
    67786818    </attribute>
    67796819
    6780     <attribute name="LogEnabled" type="boolean">
     6820    <attribute name="logEnabled" type="boolean">
    67816821      <desc>Switch for enabling and disabling logging.</desc>
    67826822    </attribute>
     
    67896829    </attribute>
    67906830
    6791     <attribute name="VirtualTimeRate" type="unsigned long">
     6831    <attribute name="virtualTimeRate" type="unsigned long">
    67926832      <desc>
    67936833        The rate at which the virtual time runs expressed as a percentage.
     
    68146854  <interface
    68156855     name="IUSBController" extends="$unknown"
    6816      uuid="9a110c34-93c2-46b0-8ac2-b09d1067be56"
     6856     uuid="bf21872c-265c-41a9-99d4-ce0dcdc34a91"
    68176857     wsmap="managed"
    68186858     >
     
    68346874    </attribute>
    68356875
    6836     <attribute name="DeviceFilters" type="IUSBDeviceFilterCollection" readonly="yes">
     6876    <attribute name="deviceFilters" type="IUSBDeviceFilterCollection" readonly="yes">
    68376877      <desc>
    68386878        List of USB device filters associated with the machine.
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r3278 r3576  
    173173    STDMETHOD(UnlockFramebuffer)();
    174174    STDMETHOD(RegisterExternalFramebuffer)(IFramebuffer *frameBuf);
    175     STDMETHOD(SetFramebuffer)(ULONG aScreenId, IFramebuffer * aFramebuffer);
    176     STDMETHOD(QueryFramebuffer)(ULONG aScreenId, IFramebuffer * * aFramebuffer, LONG * aXOrigin, LONG * aYOrigin);
     175    STDMETHOD(SetFramebuffer)(ULONG aScreenId, IFramebuffer *aFramebuffer);
     176    STDMETHOD(GetFramebuffer)(ULONG aScreenId, IFramebuffer **aFramebuffer, LONG *aXOrigin, LONG *aYOrigin);
    177177    STDMETHOD(SetVideoModeHint)(ULONG width, ULONG height, ULONG colorDepth, ULONG display);
    178178    STDMETHOD(TakeScreenShot)(BYTE *address, ULONG width, ULONG height);
  • trunk/src/VBox/Main/include/FramebufferImpl.h

    r3571 r3576  
    7676                              ULONG width, ULONG height, BOOL *handled);
    7777
    78     STDMETHOD(GetVisibleRegion)(ULONG * aPcRect, BYTE * aPRect);
    79     STDMETHOD(SetVisibleRegion)(ULONG aCRect, BYTE * aPRect);
     78    STDMETHOD(GetVisibleRegion)(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied);
     79    STDMETHOD(SetVisibleRegion)(BYTE *aRectangles, ULONG aCount);
    8080
    8181private:
  • trunk/src/VBox/Main/include/SerialPortImpl.h

    r3500 r3576  
    4242            : mSlot (0)
    4343            , mEnabled(FALSE)
    44             , mIrq (4)
    45             , mIobase (0x3f8)
     44            , mIRQ (4)
     45            , mIOBase (0x3f8)
    4646        {}
    4747
     
    5151                   (mSlot == that.mSlot &&
    5252                    mEnabled == that.mEnabled &&
    53                     mIrq == that.mIrq &&
    54                     mIobase == that.mIobase);
     53                    mIRQ == that.mIRQ &&
     54                    mIOBase == that.mIOBase);
    5555        }
    5656
    5757        ULONG mSlot;
    5858        BOOL  mEnabled;
    59         ULONG mIrq;
    60         ULONG mIobase;
     59        ULONG mIRQ;
     60        ULONG mIOBase;
    6161        Bstr  mPipe;
    6262        BOOL  mServer;
     
    9191    STDMETHOD(COMGETTER(Enabled)) (BOOL      *aEnabled);
    9292    STDMETHOD(COMSETTER(Enabled)) (BOOL       aEnabled);
    93     STDMETHOD(COMGETTER(Irq))     (ULONG     *aIrq);
    94     STDMETHOD(COMSETTER(Irq))     (ULONG      aIrq);
    95     STDMETHOD(COMGETTER(Iobase))  (ULONG     *aIobase);
    96     STDMETHOD(COMSETTER(Iobase))  (ULONG      aIobase);
     93    STDMETHOD(COMGETTER(IRQ))     (ULONG     *aIRQ);
     94    STDMETHOD(COMSETTER(IRQ))     (ULONG      aIRQ);
     95    STDMETHOD(COMGETTER(IOBase))  (ULONG     *aIOBase);
     96    STDMETHOD(COMSETTER(IOBase))  (ULONG      aIOBase);
    9797    STDMETHOD(COMGETTER(Pipe))    (BSTR      *aPipe);
    9898    STDMETHOD(COMSETTER(Pipe))    (INPTR BSTR aPipe);
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