Changeset 6465 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jan 23, 2008 4:20:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp
r6463 r6465 85 85 * 86 86 * @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 eventAckFlag that the request is an acknowlegement for the91 * VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST.92 * Values:93 * 0 - just querying,94 * VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST - event acknowledged.95 * @param display0 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. 96 96 */ 97 VBGLR3DECL(int) VbglR3GetDisplayChangeRequest(uint32_t *p x, uint32_t *py, uint32_t *pbpp,98 uint32_t eventAck, uint32_t display)97 VBGLR3DECL(int) VbglR3GetDisplayChangeRequest(uint32_t *pcx, uint32_t *pcy, uint32_t *pcBits, 98 uint32_t fEventAck, uint32_t iDisplay) 99 99 { 100 100 VMMDevDisplayChangeRequest2 Req; … … 103 103 Req.yres = 0; 104 104 Req.bpp = 0; 105 Req.eventAck = eventAck;106 Req.display = display;105 Req.eventAck = fEventAck; 106 Req.display = iDisplay; 107 107 int rc = vbglR3GRPerform(&Req.header); 108 108 if (RT_SUCCESS(rc)) 109 109 { 110 *p x = Req.xres;111 *p y = Req.yres;112 *p bpp= Req.bpp;110 *pcx = Req.xres; 111 *pcy = Req.yres; 112 *pcBits = Req.bpp; 113 113 } 114 114 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.