VBoxDisplay.h revision 27d66a51b31d63b8ffa539b401357b20f2bafd53
/** @file
*
* VBoxDisplay - private windows additions display header
*
* Copyright (C) 2006-2007 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef __VBoxDisplay_h__
#define __VBoxDisplay_h__
#define VBOXESC_SETVISIBLEREGION 0xABCD9001
#define VBOXESC_ISVRDPACTIVE 0xABCD9002
#ifdef VBOXWDDM
# define VBOXESC_REINITVIDEOMODES 0xABCD9003
# define VBOXESC_GETVBOXVIDEOCMCMD 0xABCD9004
# define VBOXESC_DBGPRINT 0xABCD9005
typedef struct
{
typedef struct
{
#endif /* #ifdef VBOXWDDM */
typedef struct VBOXDISPIFESCAPE
{
/* ensure command body is always 8-byte-aligned*/
#define VBOXDISPIFESCAPE_DATA(_pHead, _t) ( (_t*)(((uint8_t*)(_pHead)) + VBOXDISPIFESCAPE_DATA_OFFSET()))
#define VBOXDISPIFESCAPE_DATA_SIZE(_s) ( (_s) < VBOXDISPIFESCAPE_DATA_OFFSET() ? 0 : (_s) - VBOXDISPIFESCAPE_DATA_OFFSET() )
#define VBOXDISPIFESCAPE_SIZE(_cbData) ((_cbData) ? VBOXDISPIFESCAPE_DATA_OFFSET() + (_cbData) : sizeof (VBOXDISPIFESCAPE))
#define IOCTL_VIDEO_VBOX_SETVISIBLEREGION \
#endif /* __VBoxDisplay_h__ */