1 #ifndef AVIFILE_REGISTRY_H
2 #define AVIFILE_REGISTRY_H
4 /********************************************************
6 * Declaration of registry access functions
7 * Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
9 ********************************************************/
12 * Modified for use with MPlayer, detailed CVS changelog at
13 * http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
21 void free_registry(void);
23 long __stdcall
RegOpenKeyExA(long key
, const char* subkey
, long reserved
,
24 long access
, int* newkey
);
25 long __stdcall
RegCloseKey(long key
);
26 long __stdcall
RegQueryValueExA(long key
, const char* value
, int* reserved
,
27 int* type
, int* data
, int* count
);
28 long __stdcall
RegCreateKeyExA(long key
, const char* name
, long reserved
,
29 void* classs
, long options
, long security
,
30 void* sec_attr
, int* newkey
, int* status
);
31 long __stdcall
RegSetValueExA(long key
, const char* name
, long v1
, long v2
,
32 const void* data
, long size
);
34 #ifdef __WINE_WINERROR_H
36 long __stdcall
RegEnumKeyExA(HKEY hKey
, DWORD dwIndex
, LPSTR lpName
, LPDWORD lpcbName
,
37 LPDWORD lpReserved
, LPSTR lpClass
, LPDWORD lpcbClass
,
38 LPFILETIME lpftLastWriteTime
);
39 long __stdcall
RegEnumValueA(HKEY hkey
, DWORD index
, LPSTR value
, LPDWORD val_count
,
40 LPDWORD reserved
, LPDWORD type
, LPBYTE data
, LPDWORD count
);
46 #endif // AVIFILE_REGISTRY_H