VirtualBox

Ignore:
Timestamp:
Jan 31, 2007 4:14:04 PM (18 years ago)
Author:
vboxsync
Message:

Main/Frontends: Changed all interface attributes and method parameters that used to use ULONG to pass pointers around; they now use BYTE * for this purpose (should fix problems for 64-bit targets).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/FramebufferImpl.cpp

    r1 r470  
    5656/////////////////////////////////////////////////////////////////////////////
    5757
    58 STDMETHODIMP InternalFramebuffer::COMGETTER(Address) (ULONG *address)
     58STDMETHODIMP InternalFramebuffer::COMGETTER(Address) (BYTE **address)
    5959{
    6060    if (!address)
    6161        return E_POINTER;
    62     *address = (ULONG)mData;
     62    *address = mData;
    6363    return S_OK;
    6464}
     
    148148}
    149149
    150 STDMETHODIMP InternalFramebuffer::RequestResize(FramebufferPixelFormat_T pixelFormat, ULONG vram, ULONG lineSize, ULONG w, ULONG h,
    151                                                 BOOL *finished)
     150STDMETHODIMP
     151InternalFramebuffer::RequestResize(FramebufferPixelFormat_T pixelFormat, BYTE *vram,
     152                                   ULONG lineSize, ULONG w, ULONG h,
     153                                   BOOL *finished)
    152154{
    153155    if (!finished)
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