VBoxUhgsmiKmt.h revision 759c605ff712b0d178548cee2e3e41035b8d731c
/** @file
*
* VBoxVideo Display D3D User mode dll
*
* Copyright (C) 2010 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 ___VBoxUhgsmiKmt_h__
#define ___VBoxUhgsmiKmt_h__
#include "VBoxUhgsmiBase.h"
#include "VBoxDispD3DCmn.h"
#include <D3dkmthk.h>
typedef struct VBOXDISPKMT_CALLBACKS
{
/* open adapter */
/* close adapter */
/* escape */
typedef struct VBOXDISPKMT_ADAPTER
{
typedef struct VBOXDISPKMT_DEVICE
{
struct VBOXDISPKMT_ADAPTER *pAdapter;
typedef struct VBOXDISPKMT_CONTEXT
{
struct VBOXDISPKMT_DEVICE *pDevice;
typedef struct VBOXUHGSMI_PRIVATE_KMT
{
#define VBOXUHGSMIKMT_GET_PRIVATE(_p, _t) ((_t*)(((uint8_t*)_p) - RT_OFFSETOF(_t, BasePrivate.Base)))
HRESULT vboxDispKmtCreateContext(PVBOXDISPKMT_DEVICE pDevice, PVBOXDISPKMT_CONTEXT pContext, BOOL bD3D);
#endif /* #ifndef ___VBoxUhgsmiKmt_h__ */