ddraw: Get rid of get_config_key().

This commit is contained in:
Henri Verbeet 2013-09-11 08:47:50 +02:00 committed by Alexandre Julliard
parent 1453baf64b
commit 9ccced6f41
1 changed files with 0 additions and 13 deletions

View File

@ -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)
*