ReactOS  0.4.14-dev-315-gbb6fece
d3dx9_40_main.c File Reference
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <d3dx9.h>
Include dependency graph for d3dx9_40_main.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define _INC_WINDOWS
 
#define COM_NO_WINDOWS_H
 

Functions

BOOL WINAPI DllMain (HINSTANCE inst, DWORD reason, LPVOID reserved)
 
BOOL WINAPI D3DXCheckVersion (UINT d3dsdkvers, UINT d3dxsdkvers)
 

Macro Definition Documentation

◆ _INC_WINDOWS

#define _INC_WINDOWS

Definition at line 24 of file d3dx9_40_main.c.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 25 of file d3dx9_40_main.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 23 of file d3dx9_40_main.c.

Function Documentation

◆ D3DXCheckVersion()

BOOL WINAPI D3DXCheckVersion ( UINT  d3dsdkvers,
UINT  d3dxsdkvers 
)

Definition at line 59 of file d3dx9_40_main.c.

60 {
61  if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==40)
62  return TRUE;
63  else
64  return FALSE;
65 }
#define TRUE
Definition: types.h:120
#define D3D_SDK_VERSION
Definition: d3d8.h:56

◆ DllMain()

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

Definition at line 42 of file d3dx9_40_main.c.

43 {
44  switch(reason)
45  {
46  case DLL_WINE_PREATTACH:
47  return FALSE; /* prefer native version */
48  case DLL_PROCESS_ATTACH:
50  break;
51  }
52  return TRUE;
53 }
#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