2008-02-23 14:50:55 +00:00
|
|
|
#ifndef MPLAYER_REGISTRY_H
|
|
|
|
#define MPLAYER_REGISTRY_H
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2001-10-04 02:21:47 +00:00
|
|
|
/********************************************************
|
|
|
|
*
|
|
|
|
* Declaration of registry access functions
|
|
|
|
* Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
|
|
|
|
*
|
|
|
|
********************************************************/
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2005-04-15 20:17:14 +00:00
|
|
|
/*
|
2006-06-22 13:34:00 +00:00
|
|
|
* Modified for use with MPlayer, detailed changelog at
|
|
|
|
* http://svn.mplayerhq.hu/mplayer/trunk/
|
2005-04-15 20:17:14 +00:00
|
|
|
*/
|
|
|
|
|
2001-02-24 20:28:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2001-10-04 02:21:47 +00:00
|
|
|
|
2010-01-04 20:36:27 +00:00
|
|
|
#include "wine/winbase.h"
|
|
|
|
|
2001-11-26 01:17:24 +00:00
|
|
|
void free_registry(void);
|
|
|
|
|
2003-04-21 20:13:21 +00:00
|
|
|
long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved,
|
2001-10-04 02:21:47 +00:00
|
|
|
long access, int* newkey);
|
2003-04-21 20:13:21 +00:00
|
|
|
long __stdcall RegCloseKey(long key);
|
|
|
|
long __stdcall RegQueryValueExA(long key, const char* value, int* reserved,
|
2001-10-04 02:21:47 +00:00
|
|
|
int* type, int* data, int* count);
|
2003-04-21 20:13:21 +00:00
|
|
|
long __stdcall RegCreateKeyExA(long key, const char* name, long reserved,
|
2001-10-04 02:21:47 +00:00
|
|
|
void* classs, long options, long security,
|
|
|
|
void* sec_attr, int* newkey, int* status);
|
2003-04-21 20:13:21 +00:00
|
|
|
long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2,
|
2001-10-04 02:21:47 +00:00
|
|
|
const void* data, long size);
|
2001-12-11 22:58:14 +00:00
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#ifdef MPLAYER_WINERROR_H
|
2001-12-11 22:58:14 +00:00
|
|
|
|
2003-04-21 20:13:21 +00:00
|
|
|
long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName,
|
2001-12-11 22:58:14 +00:00
|
|
|
LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass,
|
|
|
|
LPFILETIME lpftLastWriteTime);
|
2003-04-21 20:13:21 +00:00
|
|
|
long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
|
2001-10-04 02:21:47 +00:00
|
|
|
LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count);
|
|
|
|
#endif
|
2001-02-24 20:28:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
};
|
|
|
|
#endif
|
2001-10-04 02:21:47 +00:00
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_REGISTRY_H */
|