Changeset 27955 in vbox for trunk/src/VBox/Additions/WINNT/include/VBoxDisplay.h
- Timestamp:
- Apr 2, 2010 9:12:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/include/VBoxDisplay.h
r8387 r27955 22 22 #define VBOXESC_SETVISIBLEREGION 0xABCD9001 23 23 #define VBOXESC_ISVRDPACTIVE 0xABCD9002 24 #ifdef VBOXWDDM 25 # define VBOXESC_REINITVIDEOMODES 0xABCD9003 26 #endif /* #ifdef VBOXWDDM */ 24 27 28 typedef 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)) 25 37 26 38 #define IOCTL_VIDEO_VBOX_SETVISIBLEREGION \ 27 39 CTL_CODE(FILE_DEVICE_VIDEO, 0xA01, METHOD_BUFFERED, FILE_ANY_ACCESS) 28 40 29 30 41 #endif /* __VBoxDisplay_h__ */
Note:
See TracChangeset
for help on using the changeset viewer.