2001-10-04 02:21:47 +00:00
|
|
|
#ifndef AVIFILE_REGISTRY_H
|
|
|
|
#define AVIFILE_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
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2001-10-04 02:21:47 +00:00
|
|
|
|
2001-11-26 01:17:24 +00:00
|
|
|
void free_registry(void);
|
|
|
|
|
2001-10-04 02:21:47 +00:00
|
|
|
long RegOpenKeyExA(long key, const char* subkey, long reserved,
|
|
|
|
long access, int* newkey);
|
2001-02-24 20:28:24 +00:00
|
|
|
long RegCloseKey(long key);
|
2001-10-04 02:21:47 +00:00
|
|
|
long RegQueryValueExA(long key, const char* value, int* reserved,
|
|
|
|
int* type, int* data, int* count);
|
2001-02-24 20:28:24 +00:00
|
|
|
long 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);
|
|
|
|
long RegSetValueExA(long key, const char* name, long v1, long v2,
|
|
|
|
const void* data, long size);
|
|
|
|
#ifdef __WINE_WINERROR_H
|
|
|
|
long RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
|
|
|
|
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
|
|
|
|
|
|
|
#endif // AVIFILE_REGISTRY_H
|