ReactOS  0.4.14-dev-342-gdc047f9
d3dx9_26_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_26_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 23 of file d3dx9_26_main.c.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 24 of file d3dx9_26_main.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 22 of file d3dx9_26_main.c.

Function Documentation

◆ D3DXCheckVersion()

BOOL WINAPI D3DXCheckVersion ( UINT  d3dsdkvers,
UINT  d3dxsdkvers 
)

Definition at line 58 of file d3dx9_26_main.c.

59 {
60  if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==26)
61  return TRUE;
62  else
63  return FALSE;
64 }
#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 41 of file d3dx9_26_main.c.

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