1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00
DDrawCompat/DDrawCompat/CompatRegistry.h
narzoul 4f4b0cf732 Disabled immersive context menus
Immersive context menus don't display correctly when theming is disabled:
all menu items have empty labels and no icons.
Disabled this menu style through a faked registry value.
2016-03-24 23:12:28 +01:00

12 lines
198 B
C++

#pragma once
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
namespace CompatRegistry
{
void installHooks();
void setValue(HKEY key, const char* subKey, const char* valueName, DWORD value);
}