VBoxMPWddm.h revision 9cdd4d805ecb43126372f7cf12e4032836cb738a
/* $Id$ */
/** @file
* VBox WDDM Miniport driver
*/
/*
* Copyright (C) 2011 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 ___VBoxMPWddm_h___
#define ___VBoxMPWddm_h___
#include "common/VBoxMPUtils.h"
#include "common/VBoxMPDevExt.h"
//#define VBOXWDDM_DEBUG_VIDPN
#ifndef DEBUG_misha
# ifdef Assert
# endif
# ifdef AssertBreakpoint
# define AssertBreakpoint() do{}while(0)
# endif
# ifdef AssertFailed
# define AssertFailed() do{}while(0)
# endif
#endif
{
#if 0
return NULL;
PVBOXWDDM_RESOURCE pRc = (PVBOXWDDM_RESOURCE)(((uint8_t*)pAlloc) - RT_OFFSETOF(VBOXWDDM_RESOURCE, aAllocations[pAlloc->iIndex]));
return pRc;
#else
#endif
}
{
if (!cRefs)
{
}
}
{
}
#define VBOXWDDMENTRY_2_SWAPCHAIN(_pE) ((PVBOXWDDM_SWAPCHAIN)((uint8_t*)(_pE) - RT_OFFSETOF(VBOXWDDM_SWAPCHAIN, DevExtListEntry)))
#ifdef VBOXWDDM_RENDER_FROM_SHADOW
#else
#endif
#endif /* #ifndef ___VBoxMPWddm_h___ */