Mercurial > mplayer.hg
annotate loader/registry.h @ 25798:c8c9b4e89fb7
Surround variable declarations by preprocessor conditionals to avoid warnings:
module.c:143: warning: unused variable 'typeName'
module.c:948: warning: unused variable 'err'
author | diego |
---|---|
date | Mon, 21 Jan 2008 00:14:52 +0000 |
parents | de09fcf0b4f1 |
children | b70f5ac9c001 |
rev | line source |
---|---|
2069 | 1 #ifndef AVIFILE_REGISTRY_H |
2 #define AVIFILE_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 * $Id$ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
9965
diff
changeset
|
15 */ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
9965
diff
changeset
|
16 |
1 | 17 #ifdef __cplusplus |
18 extern "C" { | |
19 #endif | |
2069 | 20 |
3134 | 21 void free_registry(void); |
22 | |
9965 | 23 long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved, |
2069 | 24 long access, int* newkey); |
9965 | 25 long __stdcall RegCloseKey(long key); |
26 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved, | |
2069 | 27 int* type, int* data, int* count); |
9965 | 28 long __stdcall RegCreateKeyExA(long key, const char* name, long reserved, |
2069 | 29 void* classs, long options, long security, |
30 void* sec_attr, int* newkey, int* status); | |
9965 | 31 long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2, |
2069 | 32 const void* data, long size); |
3465 | 33 |
24422
c98c9e7f3bd0
Remove leading underscores from multiple inclusion guards,
diego
parents:
18783
diff
changeset
|
34 #ifdef WINE_WINERROR_H |
3465 | 35 |
9965 | 36 long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName, |
3465 | 37 LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass, |
38 LPFILETIME lpftLastWriteTime); | |
9965 | 39 long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count, |
2069 | 40 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count); |
41 #endif | |
1 | 42 #ifdef __cplusplus |
43 }; | |
44 #endif | |
2069 | 45 |
25547 | 46 #endif /* AVIFILE_REGISTRY_H */ |