Mercurial > mplayer.hg
annotate loader/registry.h @ 32151:681716cd9232
Simplify DirectFB check using function_check().
author | diego |
---|---|
date | Tue, 14 Sep 2010 10:25:12 +0000 |
parents | 26f673ba0675 |
children |
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 |
30171
837cd9762b4e
Add required header #includes to satisfy 'make checkheaders'.
diego
parents:
26045
diff
changeset
|
16 #include "wine/winbase.h" |
837cd9762b4e
Add required header #includes to satisfy 'make checkheaders'.
diego
parents:
26045
diff
changeset
|
17 |
3134 | 18 void free_registry(void); |
19 | |
9965 | 20 long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved, |
2069 | 21 long access, int* newkey); |
9965 | 22 long __stdcall RegCloseKey(long key); |
23 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved, | |
2069 | 24 int* type, int* data, int* count); |
9965 | 25 long __stdcall RegCreateKeyExA(long key, const char* name, long reserved, |
2069 | 26 void* classs, long options, long security, |
27 void* sec_attr, int* newkey, int* status); | |
9965 | 28 long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2, |
2069 | 29 const void* data, long size); |
3465 | 30 |
26045 | 31 #ifdef MPLAYER_WINERROR_H |
3465 | 32 |
9965 | 33 long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName, |
3465 | 34 LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass, |
35 LPFILETIME lpftLastWriteTime); | |
9965 | 36 long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count, |
2069 | 37 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count); |
38 #endif | |
39 | |
26045 | 40 #endif /* MPLAYER_REGISTRY_H */ |