VirtualBox

Changeset 42843 in vbox for trunk/src


Ignore:
Timestamp:
Aug 16, 2012 11:13:41 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80100
Message:

Main/EncodingAndRecording: Win build fix .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r42838 r42843  
    17051705
    17061706
    1707 STDMETHODIMP Machine::COMGETTER(VideoCaptureWidth)(uint32_t *u32HorzRes)
     1707STDMETHODIMP Machine::COMGETTER(VideoCaptureWidth)(ULONG *ulHorzRes)
    17081708{
    17091709    AutoCaller autoCaller(this);
     
    17111711
    17121712    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    1713     *u32HorzRes = mHWData->mVideoCaptureWidth;
    1714     return S_OK;
    1715 }
    1716 
    1717 STDMETHODIMP Machine::COMSETTER(VideoCaptureWidth)(uint32_t u32HorzRes)
     1713    *ulHorzRes = mHWData->mVideoCaptureWidth;
     1714    return S_OK;
     1715}
     1716
     1717STDMETHODIMP Machine::COMSETTER(VideoCaptureWidth)(ULONG ulHorzRes)
    17181718{
    17191719    AutoCaller autoCaller(this);
     
    17251725
    17261726    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    1727     mHWData->mVideoCaptureWidth = u32HorzRes;
    1728     return S_OK;
    1729 }
    1730 
    1731 STDMETHODIMP Machine::COMGETTER(VideoCaptureHeight)(uint32_t *u32VertRes)
     1727    mHWData->mVideoCaptureWidth = ulHorzRes;
     1728    return S_OK;
     1729}
     1730
     1731STDMETHODIMP Machine::COMGETTER(VideoCaptureHeight)(ULONG *ulVertRes)
    17321732{
    17331733    AutoCaller autoCaller(this);
     
    17351735
    17361736    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    1737      *u32VertRes = mHWData->mVideoCaptureHeight;
    1738     return S_OK;
    1739 }
    1740 
    1741 STDMETHODIMP Machine::COMSETTER(VideoCaptureHeight)(uint32_t u32VertRes)
     1737     *ulVertRes = mHWData->mVideoCaptureHeight;
     1738    return S_OK;
     1739}
     1740
     1741STDMETHODIMP Machine::COMSETTER(VideoCaptureHeight)(ULONG ulVertRes)
    17421742{
    17431743    AutoCaller autoCaller(this);
     
    17451745
    17461746    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    1747     mHWData->mVideoCaptureHeight = u32VertRes;
     1747    mHWData->mVideoCaptureHeight = ulVertRes;
    17481748    return S_OK;
    17491749}
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