ReactOS  0.4.14-dev-49-gfb4591c
main.c File Reference
#include "uxthemep.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

BOOL WINAPI DllMain (HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hInstDLL,
DWORD  fdwReason,
LPVOID  lpv 
)

Definition at line 26 of file main.c.

27 {
28  TRACE("%p 0x%x %p: stub\n", hInstDLL, fdwReason, lpv);
29  switch(fdwReason) {
30  case DLL_PROCESS_ATTACH:
31  DisableThreadLibraryCalls(hInstDLL);
32  UXTHEME_InitSystem(hInstDLL);
33  break;
34  case DLL_PROCESS_DETACH:
35  break;
36  }
37  return TRUE;
38 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
#define DLL_PROCESS_DETACH
Definition: compat.h:119
#define TRACE(s)
Definition: solgame.cpp:4
void UXTHEME_InitSystem(HINSTANCE hInst)
Definition: system.c:566