1 #ifndef MPLAYER_REGISTRY_H
2 #define MPLAYER_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 changelog at
13 * http://svn.mplayerhq.hu/mplayer/trunk/
20 #include "wine/winbase.h"
22 void free_registry(void);
24 long __stdcall
RegOpenKeyExA(long key
, const char* subkey
, long reserved
,
25 long access
, int* newkey
);
26 long __stdcall
RegCloseKey(long key
);
27 long __stdcall
RegQueryValueExA(long key
, const char* value
, int* reserved
,
28 int* type
, int* data
, int* count
);
29 long __stdcall
RegCreateKeyExA(long key
, const char* name
, long reserved
,
30 void* classs
, long options
, long security
,
31 void* sec_attr
, int* newkey
, int* status
);
32 long __stdcall
RegSetValueExA(long key
, const char* name
, long v1
, long v2
,
33 const void* data
, long size
);
35 #ifdef MPLAYER_WINERROR_H
37 long __stdcall
RegEnumKeyExA(HKEY hKey
, DWORD dwIndex
, LPSTR lpName
, LPDWORD lpcbName
,
38 LPDWORD lpReserved
, LPSTR lpClass
, LPDWORD lpcbClass
,
39 LPFILETIME lpftLastWriteTime
);
40 long __stdcall
RegEnumValueA(HKEY hkey
, DWORD index
, LPSTR value
, LPDWORD val_count
,
41 LPDWORD reserved
, LPDWORD type
, LPBYTE data
, LPDWORD count
);
47 #endif /* MPLAYER_REGISTRY_H */