VirtualBox

Changeset 5992 in vbox


Ignore:
Timestamp:
Dec 6, 2007 3:05:48 PM (17 years ago)
Author:
vboxsync
Message:

VRDP cleanup: OSE fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleVRDPServer.cpp

    r5991 r5992  
    594594    ConsoleVRDPServer::VRDPCallbackVideoModeHint
    595595};
    596 #endif /* VBOX_VRDP */
    597596
    598597DECLCALLBACK(int)  ConsoleVRDPServer::VRDPCallbackQueryProperty (void *pvCallback, uint32_t index, void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut)
     
    847846}
    848847
    849 #ifdef VBOX_VRDP
    850848static void fixKbdLockStatus (VRDPInputSynch *pInputSynch, IKeyboard *pKeyboard)
    851849{
     
    865863    }
    866864}
    867 #endif /* VBOX_VRDP */
    868865
    869866DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackInput (void *pvCallback, int type, const void *pvInput, unsigned cbInput)
    870867{
    871 #ifdef VBOX_VRDP
    872868    ConsoleVRDPServer *server = static_cast <ConsoleVRDPServer *> (pvCallback);
    873869    Console *pConsole = server->mConsole;
     
    995991            break;
    996992    }
    997 #else
    998     NOREF(pvCallback);
    999     NOREF(type);
    1000     NOREF(pvInput);
    1001     NOREF(cbInput);
     993}
     994
     995DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackVideoModeHint (void *pvCallback, unsigned cWidth, unsigned cHeight, unsigned cBitsPerPixel, unsigned uScreenId)
     996{
     997    ConsoleVRDPServer *server = static_cast <ConsoleVRDPServer *> (pvCallback);
     998
     999    server->mConsole->getDisplay ()->SetVideoModeHint(cWidth, cHeight, cBitsPerPixel, uScreenId);
     1000}
    10021001#endif /* VBOX_VRDP */
    1003 }
    1004 
    1005 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackVideoModeHint (void *pvCallback, unsigned cWidth, unsigned cHeight, unsigned cBitsPerPixel, unsigned uScreenId)
    1006 {
    1007     ConsoleVRDPServer *server = static_cast <ConsoleVRDPServer *> (pvCallback);
    1008 
    1009     server->mConsole->getDisplay ()->SetVideoModeHint(cWidth, cHeight, cBitsPerPixel, uScreenId);
    1010 }
    10111002
    10121003ConsoleVRDPServer::ConsoleVRDPServer (Console *console)
     
    10681059    }
    10691060
     1061#ifdef VBOX_VRDP
    10701062    unsigned i;
    10711063    for (i = 0; i < ELEMENTS(maFramebuffers); i++)
     
    10771069        }
    10781070    }
     1071#endif /* VBOX_VRDP */
    10791072
    10801073    if (RTCritSectIsInitialized (&mCritSect))
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