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