VirtualBox

Changeset 95962 in vbox


Ignore:
Timestamp:
Aug 1, 2022 2:11:45 PM (2 years ago)
Author:
vboxsync
Message:

Additions/VBoxTray: Got rid of static function isVBoxDisplayDriverActive() defined in a header, which makes no sense (and is gone anyway).

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.h

    r93115 r95962  
    6464        struct
    6565        {
    66             /* ChangeDisplaySettingsEx does not exist in NT. ResizeDisplayDevice uses the function. */
     66            /** ChangeDisplaySettingsEx does not exist in NT. ResizeDisplayDevice uses the function. */
    6767            DECLCALLBACKMEMBER_EX(LONG, WINAPI, pfnChangeDisplaySettingsEx,(LPCTSTR lpszDeviceName, LPDEVMODE lpDevMode,
    6868                                                                            HWND hwnd, DWORD dwflags, LPVOID lParam));
    69             /* EnumDisplayDevices does not exist in NT. isVBoxDisplayDriverActive et al. are using these functions. */
     69            /** EnumDisplayDevices does not exist in NT.*/
    7070            DECLCALLBACKMEMBER_EX(BOOL, WINAPI, pfnEnumDisplayDevices,(IN LPCSTR lpDevice, IN DWORD iDevNum,
    7171                                                                       OUT PDISPLAY_DEVICEA lpDisplayDevice, IN DWORD dwFlags));
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp

    r95961 r95962  
    4646    DECLCALLBACKMEMBER_EX(LONG,WINAPI, pfnChangeDisplaySettingsEx,(LPCTSTR lpszDeviceName, LPDEVMODE lpDevMode, HWND hwnd,
    4747                                                                   DWORD dwflags, LPVOID lParam));
    48     /** EnumDisplayDevices does not exist in NT. isVBoxDisplayDriverActive et al. are using these functions. */
     48    /** EnumDisplayDevices does not exist in NT. */
    4949    DECLCALLBACKMEMBER_EX(BOOL, WINAPI, pfnEnumDisplayDevices,(IN LPCSTR lpDevice, IN DWORD iDevNum,
    5050                                                               OUT PDISPLAY_DEVICEA lpDisplayDevice, IN DWORD dwFlags));
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTrayInternal.h

    r95961 r95962  
    2828                             DWORD aBitsPerPixel, LONG aPosX, LONG aPosY, BOOL fEnabled, BOOL fExtDispSup);
    2929
    30 #ifndef VBOX_WITH_WDDM
    31 static bool isVBoxDisplayDriverActive(void);
    32 #else
    33 /* @misha: getVBoxDisplayDriverType is used instead.
    34  * it seems bad to put static function declaration to header,
    35  * so it is moved to VBoxDisplay.cpp */
    36 #endif
    37 
    3830#endif /* !GA_INCLUDED_SRC_WINNT_VBoxTray_Internal_h */
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