diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index 8e7b09893bf..61b25865902 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c @@ -818,19 +818,6 @@ DestroyCallback(IDirectDrawSurface7 *surf, return DDENUMRET_OK; } -/*********************************************************************** - * get_config_key - * - * Reads a config key from the registry. Taken from WineD3D - * - ***********************************************************************/ -static inline DWORD get_config_key(HKEY defkey, HKEY appkey, const char* name, char* buffer, DWORD size) -{ - if (0 != appkey && !RegQueryValueExA( appkey, name, 0, NULL, (LPBYTE) buffer, &size )) return 0; - if (0 != defkey && !RegQueryValueExA( defkey, name, 0, NULL, (LPBYTE) buffer, &size )) return 0; - return ERROR_FILE_NOT_FOUND; -} - /*********************************************************************** * DllMain (DDRAW.0) *