d3d9_main.c revision 67927207a2d6bb545eb655ef14cdb090b1957120
/* $Id$ */
/** @file
* VBox D3D8 dll switcher
*/
/*
* Copyright (C) 2009 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 "d3d9.h"
#include "switcher.h"
typedef void (WINAPI *DebugSetMuteProc)(void);
typedef void* (WINAPI *Direct3DShaderValidatorCreate9Proc)(void);
typedef int (WINAPI *D3DPERF_EndEventProc)(void);
typedef struct _D3D9ExTag
{
int initialized;
const char *vboxName;
const char *msName;
} D3D9Export;
#ifdef VBOX_WDDM_WOW64
#else
#endif
{
}
void WINAPI DebugSetMute(void)
{
}
{
}
{
}
void* WINAPI Direct3DShaderValidatorCreate9(void)
{
return g_swd3d9.pDirect3DShaderValidatorCreate9();
}
{
}
int WINAPI D3DPERF_EndEvent(void)
{
return g_swd3d9.pD3DPERF_EndEvent();
}
{
return g_swd3d9.pD3DPERF_GetStatus();
}
{
}
{
return g_swd3d9.pD3DPERF_QueryRepeatFrame();
}
{
}
{
}