ReactOS  0.4.14-dev-115-g4576127
themes.c File Reference
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <shimlib.h>
#include <strsafe.h>
#include <uxtheme.h>
#include <setup_shim.inl>
#include <implement_shim.inl>
Include dependency graph for themes.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define SHIM_NS   DisableThemes
 
#define SHIM_NUM_HOOKS   0
 
#define SHIM_NOTIFY_FN   SHIM_OBJ_NAME(Notify)
 

Functions

BOOL WINAPI SHIM_OBJ_NAME() Notify (DWORD fdwReason, PVOID ptr)
 

Macro Definition Documentation

◆ SHIM_NOTIFY_FN

#define SHIM_NOTIFY_FN   SHIM_OBJ_NAME(Notify)

Definition at line 22 of file themes.c.

◆ SHIM_NS

#define SHIM_NS   DisableThemes

Definition at line 18 of file themes.c.

◆ SHIM_NUM_HOOKS

#define SHIM_NUM_HOOKS   0

Definition at line 21 of file themes.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 8 of file themes.c.

Function Documentation

◆ Notify()

BOOL WINAPI SHIM_OBJ_NAME() Notify ( DWORD  fdwReason,
PVOID  ptr 
)

Definition at line 24 of file themes.c.

25 {
26  if (fdwReason == SHIM_REASON_INIT)
27  {
28  /* Disable themes for non-client, comctl controls and webcontent */
30  }
31  return TRUE;
32 }
#define TRUE
Definition: types.h:120
void WINAPI SetThemeAppProperties(DWORD dwFlags)
Definition: system.c:941
#define SHIM_REASON_INIT
Definition: shimlib.h:45