Mercurial > mplayer.hg
annotate loader/registry.h @ 27582:34d3e0c8487a
Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.
author | diego |
---|---|
date | Mon, 15 Sep 2008 05:40:29 +0000 |
parents | a8ea87c71d18 |
children | 837cd9762b4e |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_REGISTRY_H |
2 #define MPLAYER_REGISTRY_H | |
1 | 3 |
2069 | 4 /******************************************************** |
5 * | |
6 * Declaration of registry access functions | |
7 * Copyright 2000 Eugene Kuznetsov (divx@euro.ru) | |
8 * | |
9 ********************************************************/ | |
1 | 10 |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
9965
diff
changeset
|
11 /* |
18783 | 12 * Modified for use with MPlayer, detailed changelog at |
13 * http://svn.mplayerhq.hu/mplayer/trunk/ | |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
9965
diff
changeset
|
14 */ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
9965
diff
changeset
|
15 |
1 | 16 #ifdef __cplusplus |
17 extern "C" { | |
18 #endif | |
2069 | 19 |
3134 | 20 void free_registry(void); |
21 | |
9965 | 22 long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved, |
2069 | 23 long access, int* newkey); |
9965 | 24 long __stdcall RegCloseKey(long key); |
25 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved, | |
2069 | 26 int* type, int* data, int* count); |
9965 | 27 long __stdcall RegCreateKeyExA(long key, const char* name, long reserved, |
2069 | 28 void* classs, long options, long security, |
29 void* sec_attr, int* newkey, int* status); | |
9965 | 30 long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2, |
2069 | 31 const void* data, long size); |
3465 | 32 |
26045 | 33 #ifdef MPLAYER_WINERROR_H |
3465 | 34 |
9965 | 35 long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName, |
3465 | 36 LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass, |
37 LPFILETIME lpftLastWriteTime); | |
9965 | 38 long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count, |
2069 | 39 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count); |
40 #endif | |
1 | 41 #ifdef __cplusplus |
42 }; | |
43 #endif | |
2069 | 44 |
26045 | 45 #endif /* MPLAYER_REGISTRY_H */ |