VirtualBox

Changeset 6465

Show
Ignore:
Timestamp:
01/23/08 17:20:40 (10 months ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/VBoxGuest.h

    r6463 r6465  
    14201420/** @name Display 
    14211421 * @{ */ 
    1422 VBGLR3DECL(int)     VbglR3GetDisplayChangeRequest(uint32_t *px, uint32_t *py, uint32_t *pbpp
    1423                                                   uint32_t eventAck, uint32_t display); 
     1422VBGLR3DECL(int)     VbglR3GetDisplayChangeRequest(uint32_t *pcx, uint32_t *pcy, uint32_t *pcBits
     1423                                                  uint32_t fEventAck, uint32_t iDisplay); 
    14241424/** @}  */ 
    14251425 
  • 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; 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy