Changeset 20814 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 23, 2009 10:40:53 AM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r20224 r20814 1586 1586 return rc; 1587 1587 } 1588 1589 STDMETHODIMP Display::TakeScreenShotSlow (ULONG width, ULONG height, 1590 ComSafeArrayOut (BYTE, aScreenData)) 1591 { 1592 HRESULT rc = S_OK; 1593 1594 rc = setError (E_NOTIMPL, tr ("This feature is not implemented")); 1595 1596 return rc; 1597 } 1598 1588 1599 1589 1600 STDMETHODIMP Display::DrawToScreen (BYTE *address, ULONG x, ULONG y, -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r20630 r20814 10889 10889 </method> 10890 10890 10891 <method name="takeScreenShotSlow"> 10892 <desc> 10893 Takes a screen shot of the requested size and returns it as 10894 an array of bytes. This API is slow, but could be the only option for 10895 scribtable languages not allowed to manipulate with addresses 10896 directly. 10897 10898 <result name="E_NOTIMPL"> 10899 Feature not implemented. 10900 </result> 10901 <result name="VBOX_E_IPRT_ERROR"> 10902 Could not take a screenshot. 10903 </result> 10904 </desc> 10905 <param name="width" type="unsigned long" dir="in"/> 10906 <param name="height" type="unsigned long" dir="in"/> 10907 <param name="screenData" type="octet" dir="out" safearray="yes"> 10908 <desc> 10909 Array with resulting screen data. 10910 </desc> 10911 </param> 10912 </method> 10913 10891 10914 <method name="drawToScreen"> 10892 10915 <desc> -
trunk/src/VBox/Main/include/DisplayImpl.h
r20021 r20814 240 240 STDMETHOD(SetVideoModeHint)(ULONG width, ULONG height, ULONG bitsPerPixel, ULONG display); 241 241 STDMETHOD(TakeScreenShot)(BYTE *address, ULONG width, ULONG height); 242 STDMETHOD(TakeScreenShotSlow)(ULONG width, ULONG height, ComSafeArrayOut(BYTE, aScreenData)); 242 243 STDMETHOD(DrawToScreen)(BYTE *address, ULONG x, ULONG y, ULONG width, ULONG height); 243 244 STDMETHOD(InvalidateAndUpdate)();
Note:
See TracChangeset
for help on using the changeset viewer.