annotate loader/registry.h @ 25068:4b14d188ed34

Add all passed to VID_SET_FORMAT formats to the end of available format list (but report call as failed, to continue checking formats). This gives small chance to build graph even if device does not report about particular format as supported. This makes mplayer be able to work with PVR-150 card (card's driver does not report about yuy2 format, but accepts connection and works with it).
author voroshil
date Sun, 18 Nov 2007 13:17:00 +0000
parents c98c9e7f3bd0
children de09fcf0b4f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
1 #ifndef AVIFILE_REGISTRY_H
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
2 #define AVIFILE_REGISTRY_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
4 /********************************************************
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
5 *
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
6 * Declaration of registry access functions
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
7 * Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
8 *
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
9 ********************************************************/
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
15166
f5537cc95b02 Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents: 9965
diff changeset
11 /*
18783
0783dd397f74 CVS --> Subversion in copyright notices
diego
parents: 15166
diff changeset
12 * Modified for use with MPlayer, detailed changelog at
0783dd397f74 CVS --> Subversion in copyright notices
diego
parents: 15166
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 extern "C" {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 #endif
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
20
3134
181db9e5a887 avifile sync again... :(
arpi
parents: 2069
diff changeset
21 void free_registry(void);
181db9e5a887 avifile sync again... :(
arpi
parents: 2069
diff changeset
22
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
23 long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
24 long access, int* newkey);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
25 long __stdcall RegCloseKey(long key);
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
26 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
27 int* type, int* data, int* count);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
28 long __stdcall RegCreateKeyExA(long key, const char* name, long reserved,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
29 void* classs, long options, long security,
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
30 void* sec_attr, int* newkey, int* status);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
31 long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
32 const void* data, long size);
3465
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
33
24422
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 18783
diff changeset
34 #ifdef WINE_WINERROR_H
3465
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
35
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
36 long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName,
3465
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
37 LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass,
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
38 LPFILETIME lpftLastWriteTime);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
39 long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
40 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count);
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
41 #endif
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 };
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 #endif
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
45
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
46 #endif // AVIFILE_REGISTRY_H