]> git.sesse.net Git - vlc/blob - loader/registry.h
Additionnal conversions
[vlc] / loader / registry.h
1 #ifndef AVIFILE_REGISTRY_H
2 #define AVIFILE_REGISTRY_H
3
4 /********************************************************
5  *
6  *       Declaration of registry access functions
7  *       Copyright 2000 Eugene Kuznetsov  (divx@euro.ru)
8  *
9  ********************************************************/
10
11 /*
12  * Modified for use with MPlayer, detailed CVS changelog at
13  * http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
14  * $Id$
15  */
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 void free_registry(void);
22
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);
33
34 #ifdef __WINE_WINERROR_H
35
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);
41 #endif
42 #ifdef __cplusplus
43 };
44 #endif
45
46 #endif // AVIFILE_REGISTRY_H