VirtualBox

Changeset 71488 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Mar 23, 2018 3:12:15 PM (7 years ago)
Author:
vboxsync
Message:

DevVGA, Additions: minor improvements for the VGA configuration interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp

    r71147 r71488  
    7979 *
    8080 * @returns Whether the value is supported.
    81  * @param  u16Id     Identifier of the configuration value (VBE_DISPI_CFG_ID_*).
    82  * @param  pu32Value Where to store value from the host.
    83  */
    84 DECLHIDDEN(bool) VBoxVGACfgQuery(uint16_t u16Id, uint32_t *pu32Value)
     81 * @param  u16Id       Identifier of the configuration value (VBE_DISPI_CFG_ID_*).
     82 * @param  pu32Value   Where to store value from the host.
     83 * @param  u32DefValue What to assign to *pu32Value if the value is not supported.
     84 */
     85DECLHIDDEN(bool) VBoxVGACfgQuery(uint16_t u16Id, uint32_t *pu32Value, uint32_t u32DefValue)
    8586{
    8687    uint32_t u32;
     
    9596    }
    9697
     98    *pu32Value = u32DefValue;
    9799    return false;
    98100}
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