VBoxCrHgsmi.cpp revision c58f1213e628a545081c70e26c6b67a841cff880
/* $Id$ */
/** @file
* VBoxVideo Display D3D User mode dll
*/
/*
* Copyright (C) 2012 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.
*/
#include <VBox/VBoxCrHgsmi.h>
#include "VBoxUhgsmiKmt.h"
static int g_bVBoxKmtCallbacksInited = 0;
{
/*Assert(hr == S_OK);*/
{
/* check if we can create the hgsmi */
if (pHgsmi)
{
/* yes, we can, so this is wddm mode */
Log(("CrHgsmi: WDDM mode supported\n"));
return 1;
}
}
Log(("CrHgsmi: unsupported\n"));
return -1;
}
VBOXCRHGSMI_DECL(int) VBoxCrHgsmiInit()
{
{
}
}
{
if (pHgsmiGL)
{
#if 0
#else
#endif
{
}
}
return NULL;
}
{
{
}
}
VBOXCRHGSMI_DECL(int) VBoxCrHgsmiTerm()
{
#if 0
if (pHgsmiGL)
{
gt_pHgsmiGL = NULL;
}
#endif
if (g_bVBoxKmtCallbacksInited > 0)
{
}
return VINF_SUCCESS;
}
{
if (!RT_SUCCESS(rc))
{
}
return rc;
}
VBOXCRHGSMI_DECL(int) VBoxCrHgsmiCtlConCall(PVBOXUHGSMI pHgsmi, struct VBoxGuestHGCMCallInfo *pCallInfo, int cbCallInfo)
{
if (!RT_SUCCESS(rc))
{
}
return rc;
}