VirtualBox

Ignore:
Timestamp:
Apr 2, 2010 9:12:26 AM (15 years ago)
Author:
vboxsync
Message:

wddm: vboxtray: abstraction display driver API for passing escape codes (using ExtEscape for XPDM & PFND3DKMT stugg for WDDM); WDDM miniport driver: basics for handling autoresize & seamles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/include/VBoxDisplay.h

    r8387 r27955  
    2222#define VBOXESC_SETVISIBLEREGION            0xABCD9001
    2323#define VBOXESC_ISVRDPACTIVE                0xABCD9002
     24#ifdef VBOXWDDM
     25# define VBOXESC_REINITVIDEOMODES           0xABCD9003
     26#endif /* #ifdef VBOXWDDM */
    2427
     28typedef struct VBOXDISPIFESCAPE
     29{
     30    int escapeCode;
     31} VBOXDISPIFESCAPE, *PVBOXDISPIFESCAPE;
     32
     33#define VBOXDISPIFESCAPE_DATA_OFFSET() ((sizeof (VBOXDISPIFESCAPE) + 7) & ~7)
     34#define VBOXDISPIFESCAPE_DATA(_pHead, _t) ( (_t*)(((uint8_t*)(_pHead)) + VBOXDISPIFESCAPE_DATA_OFFSET()))
     35#define VBOXDISPIFESCAPE_DATA_SIZE(_s) ( (_s) < VBOXDISPIFESCAPE_DATA_OFFSET() ? 0 : (_s) - VBOXDISPIFESCAPE_DATA_OFFSET() )
     36#define VBOXDISPIFESCAPE_SIZE(_cbData) ((_cbData) ? VBOXDISPIFESCAPE_DATA_OFFSET() + (_cbData) : sizeof (VBOXDISPIFESCAPE))
    2537
    2638#define IOCTL_VIDEO_VBOX_SETVISIBLEREGION \
    2739    CTL_CODE(FILE_DEVICE_VIDEO, 0xA01, METHOD_BUFFERED, FILE_ANY_ACCESS)
    2840
    29 
    3041#endif /* __VBoxDisplay_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