VirtualBox

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


Ignore:
Timestamp:
Jan 23, 2008 4:20:40 PM (17 years ago)
Author:
vboxsync
Message:

r=bird: Fixed some hungarian spelling mistakes and documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp

    r6463 r6465  
    8585 *
    8686 * @returns iprt status value
    87  * @retval xres     horizontal pixel resolution (0 = do not change)
    88  * @retval yres     vertical pixel resolution (0 = do not change)
    89  * @retval bpp      bits per pixel (0 = do not change)
    90  * @param  eventAck Flag that the request is an acknowlegement for the
    91  *                  VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST.
    92  *                  Values:
    93  *                      0                                   - just querying,
    94  *                      VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST - event acknowledged.
    95  * @param  display  0 for primary display, 1 for the first secondary, etc.
     87 * @param   pcx         Where to store the horizontal pixel resolution (0 = do not change).
     88 * @param   pcy         Where to store the vertical pixel resolution (0 = do not change).
     89 * @param   pcBits      Where to store the bits per pixel (0 = do not change).
     90 * @param   fFventAck  Flag that the request is an acknowlegement for the
     91 *                      VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST.
     92 *                      Values:
     93 *                          0                                   - just querying,
     94 *                          VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST - event acknowledged.
     95 * @param   iDisplay    0 for primary display, 1 for the first secondary, etc.
    9696 */
    97 VBGLR3DECL(int) VbglR3GetDisplayChangeRequest(uint32_t *px, uint32_t *py, uint32_t *pbpp,
    98                                               uint32_t eventAck, uint32_t display)
     97VBGLR3DECL(int) VbglR3GetDisplayChangeRequest(uint32_t *pcx, uint32_t *pcy, uint32_t *pcBits,
     98                                              uint32_t fEventAck, uint32_t iDisplay)
    9999{
    100100    VMMDevDisplayChangeRequest2 Req;
     
    103103    Req.yres = 0;
    104104    Req.bpp = 0;
    105     Req.eventAck = eventAck;
    106     Req.display = display;
     105    Req.eventAck = fEventAck;
     106    Req.display = iDisplay;
    107107    int rc = vbglR3GRPerform(&Req.header);
    108108    if (RT_SUCCESS(rc))
    109109    {
    110         *px = Req.xres;
    111         *py = Req.yres;
    112         *pbpp = Req.bpp;
     110        *pcx = Req.xres;
     111        *pcy = Req.yres;
     112        *pcBits = Req.bpp;
    113113    }
    114114    return rc;
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