ReactOS 0.4.15-dev-8145-ga541a46
main.c File Reference
#include "initguid.h"
#include "d3dx9_private.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (d3dx)
 
BOOL WINAPI DllMain (HINSTANCE inst, DWORD reason, void *reserved)
 
BOOL WINAPI D3DXCheckVersion (UINT d3d_sdk_ver, UINT d3dx_sdk_ver)
 
DWORD WINAPI D3DXCpuOptimizations (BOOL enable)
 

Function Documentation

◆ D3DXCheckVersion()

BOOL WINAPI D3DXCheckVersion ( UINT  d3d_sdk_ver,
UINT  d3dx_sdk_ver 
)

Definition at line 46 of file main.c.

47{
48 return d3d_sdk_ver == D3D_SDK_VERSION && d3dx_sdk_ver == D3DX_SDK_VERSION;
49}
#define D3DX_SDK_VERSION
Definition: d3dx9core.h:31
#define D3D_SDK_VERSION
Definition: d3d8.h:56

◆ D3DXCpuOptimizations()

DWORD WINAPI D3DXCpuOptimizations ( BOOL  enable)

Definition at line 51 of file main.c.

52{
53 FIXME("%#x - stub\n", enable);
54 return 0;
55}
#define FIXME(fmt,...)
Definition: debug.h:114
GLboolean enable
Definition: glext.h:11120

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  inst,
DWORD  reason,
void reserved 
)

Definition at line 33 of file main.c.

34{
35 switch(reason)
36 {
37 case DLL_WINE_PREATTACH:
38 return FALSE; /* prefer native version */
41 break;
42 }
43 return TRUE;
44}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( d3dx  )