switcher.h revision 0f4c42cc432d01dc2d69b4cbd2a44624e3ce6ce6
/* $Id$ */
/** @file
* VBox D3D8/9 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.
*/
#ifndef ___CROPENGL_SWITCHER_H_
#define ___CROPENGL_SWITCHER_H_
dispatch.p##name = ((hdll) != NULL) ? (name##Proc) GetProcAddress((hdll), #name) : vbox##name##Stub;
#define SW_DISPINIT(dispatch) \
{ \
if (!dispatch.initialized) \
{ \
} \
}
{ \
return failret; \
}
{ \
}
extern BOOL IsVBox3DEnabled(void);
extern BOOL CheckOptions(void);
#endif /* #ifndef ___CROPENGL_SWITCHER_H_ */