VirtualBox

Changeset 3525 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jul 10, 2007 1:02:24 PM (18 years ago)
Author:
vboxsync
Message:

Added set and query visible region functions to PDMIDISPLAYPORT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdm.h

    r3159 r3525  
    654654
    655655
     656/**
     657 * Display rectangle
     658 */
     659typedef struct PDMIDISPLAYRECT
     660{
     661    int32_t     x;
     662    int32_t     y;
     663    uint32_t    cx;
     664    uint32_t    cy;
     665} PDMIDISPLAYRECT, *PPDMIDISPLAYRECT;
     666
     667
    656668/** Pointer to a display port interface. */
    657669typedef struct PDMIDISPLAYPORT *PPDMIDISPLAYPORT;
     
    773785     */
    774786    DECLR3CALLBACKMEMBER(void, pfnSetRenderVRAM,(PPDMIDISPLAYPORT pInterface, bool fRender));
     787
     788    /**
     789     * Set the visible region of the display
     790     *
     791     * @returns VBox status code.
     792     * @param   pInterface          Pointer to this interface.
     793     * @param   cRect               Number of rectangles in pRect
     794     * @param   pRect               Rectangle array
     795     * @thread  The emulation thread.
     796     */
     797    DECLR3CALLBACKMEMBER(int, pfnSetVisibleRegion,(PPDMIDISPLAYPORT pInterface, uint32_t cRect, PPDMIDISPLAYRECT pRect));
     798
     799    /**
     800     * Query the visible region of the display
     801     *
     802     * @returns VBox status code.
     803     * @param   pInterface          Pointer to this interface.
     804     * @param   pcRect              Number of rectangles in pRect
     805     * @param   pRect               Rectangle array (set to NULL to query the number of rectangles)
     806     * @thread  The emulation thread.
     807     */
     808    DECLR3CALLBACKMEMBER(int, pfnQueryVisibleRegion,(PPDMIDISPLAYPORT pInterface, uint32_t *pcRect, PPDMIDISPLAYRECT pRect));
     809
    775810} PDMIDISPLAYPORT;
    776811
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