ReactOS  0.4.15-dev-1070-ge1a01de
main.c File Reference
#include "config.h"
#include "wine/port.h"
#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 44 of file main.c.

45 {
46  return d3d_sdk_ver == D3D_SDK_VERSION && d3dx_sdk_ver == D3DX_SDK_VERSION;
47 }
#define D3D_SDK_VERSION
Definition: d3d8.h:56

◆ D3DXCpuOptimizations()

DWORD WINAPI D3DXCpuOptimizations ( BOOL  enable)

Definition at line 49 of file main.c.

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

◆ DllMain()

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

Definition at line 31 of file main.c.

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

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( d3dx  )