VirtualBox

Changeset 29518 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
May 17, 2010 10:06:22 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61658
Message:

Main: onMousePointerShapeChange reworked

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r29480 r29518  
    2121#include "VirtualBoxBase.h"
    2222#include "SchemaDefs.h"
     23#include "VBox/com/array.h"
    2324
    2425class Guest;
     
    206207                                   uint32_t xHot, uint32_t yHot,
    207208                                   uint32_t width, uint32_t height,
    208                                    void *pShape);
     209                                   ComSafeArrayIn(uint8_t, aShape));
    209210    void onMouseCapabilityChange(BOOL supportsAbsolute, BOOL supportsRelative, BOOL needsHostCursor);
    210211    void onStateChange(MachineState_T aMachineState);
     
    675676            uint32_t width;
    676677            uint32_t height;
    677             BYTE *shape;
    678             size_t shapeSize;
     678            com::SafeArray<BYTE> shape;
    679679        }
    680680        mpsc;
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r28973 r29518  
    150150    // IConsoleCallback methods
    151151    STDMETHOD(OnMousePointerShapeChange)(BOOL visible, BOOL alpha, ULONG xHot, ULONG yHot,
    152                                          ULONG width, ULONG height, BYTE *shape)
     152                                         ULONG width, ULONG height, ComSafeArrayIn(BYTE,shape))
    153153    {
    154154        return S_OK;
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