VirtualBox

Changeset 4261 in vbox for trunk


Ignore:
Timestamp:
Aug 21, 2007 2:34:56 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23771
Message:

Added VBOXESC_ISVRDPACTIVE escape

Location:
trunk/src/VBox/Additions/WINNT
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/enable.c

    r4259 r4261  
    108108    }
    109109#endif
     110
     111    case VBOXESC_ISVRDPACTIVE:
     112    {
     113        ULONG ret = 0;
     114
     115        if (ppdev->pInfo && vboxHwBufferBeginUpdate (ppdev))
     116        {
     117            if (ppdev->vbva.pVbvaMemory->fu32ModeFlags
     118                & VBVA_F_MODE_VRDP)
     119            {
     120                ret = 1;
     121            }
     122            vboxHwBufferEndUpdate (ppdev);
     123        }
     124        return ret;
     125    }
    110126
    111127    case VBOXESC_SETVISIBLEREGION:
  • trunk/src/VBox/Additions/WINNT/include/VBoxDisplay.h

    r4071 r4261  
    1717
    1818#define VBOXESC_SETVISIBLEREGION            0xABCD9001
     19#define VBOXESC_ISVRDPACTIVE                0xABCD9002
    1920
    2021
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette