ReactOS  0.4.14-dev-342-gdc047f9
d3dx9_30_main.c File Reference
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <d3dx9.h>
#include <wine/debug.h>
Include dependency graph for d3dx9_30_main.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define _INC_WINDOWS
 
#define COM_NO_WINDOWS_H
 

Typedefs

typedef enum _D3DX_CPU_OPTIMIZATION D3DX_CPU_OPTIMIZATION
 

Enumerations

enum  _D3DX_CPU_OPTIMIZATION { D3DX_NOT_OPTIMIZED = 0, D3DX_3DNOW_OPTIMIZED = 1, D3DX_SSE2_OPTIMIZED = 2, D3DX_SSE_OPTIMIZED = 3 }
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (d3dx)
 
BOOL WINAPI DllMain (HINSTANCE inst, DWORD reason, LPVOID reserved)
 
BOOL WINAPI D3DXCheckVersion (UINT d3dsdkvers, UINT d3dxsdkvers)
 
D3DX_CPU_OPTIMIZATION WINAPI D3DXCpuOptimizations (BOOL enable)
 

Macro Definition Documentation

◆ _INC_WINDOWS

#define _INC_WINDOWS

Definition at line 23 of file d3dx9_30_main.c.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 24 of file d3dx9_30_main.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 22 of file d3dx9_30_main.c.

Typedef Documentation

◆ D3DX_CPU_OPTIMIZATION

Enumeration Type Documentation

◆ _D3DX_CPU_OPTIMIZATION

Enumerator
D3DX_NOT_OPTIMIZED 
D3DX_3DNOW_OPTIMIZED 
D3DX_SSE2_OPTIMIZED 
D3DX_SSE_OPTIMIZED 

Definition at line 70 of file d3dx9_30_main.c.

Function Documentation

◆ D3DXCheckVersion()

BOOL WINAPI D3DXCheckVersion ( UINT  d3dsdkvers,
UINT  d3dxsdkvers 
)

Definition at line 62 of file d3dx9_30_main.c.

63 {
64  if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==30)
65  return TRUE;
66  else
67  return FALSE;
68 }
#define TRUE
Definition: types.h:120
#define D3D_SDK_VERSION
Definition: d3d8.h:56

◆ D3DXCpuOptimizations()

D3DX_CPU_OPTIMIZATION WINAPI D3DXCpuOptimizations ( BOOL  enable)

Definition at line 78 of file d3dx9_30_main.c.

79 {
80  FIXME("%i - stub\n", enable);
81  return D3DX_NOT_OPTIMIZED;
82 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLboolean enable
Definition: glext.h:11120

◆ DllMain()

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

Definition at line 45 of file d3dx9_30_main.c.

46 {
47  switch(reason)
48  {
49  case DLL_WINE_PREATTACH:
50  return FALSE; /* prefer native version */
51  case DLL_PROCESS_ATTACH:
53  break;
54  }
55  return TRUE;
56 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( d3dx  )