~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to loader/registry.h

  • Committer: Reinhard Tartler
  • Date: 2006-07-08 08:45:33 UTC
  • Revision ID: siretart@tauware.de-20060708084533-dbc155bde7122e78
imported mplayer_0.99+1.0pre7try2+cvs20060117

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef AVIFILE_REGISTRY_H
 
2
#define AVIFILE_REGISTRY_H
 
3
 
 
4
/********************************************************
 
5
 *
 
6
 *       Declaration of registry access functions
 
7
 *       Copyright 2000 Eugene Kuznetsov  (divx@euro.ru)
 
8
 *
 
9
 ********************************************************/
 
10
 
 
11
/*
 
12
 * Modified for use with MPlayer, detailed CVS changelog at
 
13
 * http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
 
14
 * $Id: registry.h,v 1.6 2005/04/15 20:17:12 diego Exp $
 
15
 */
 
16
 
 
17
#ifdef __cplusplus
 
18
extern "C" {
 
19
#endif
 
20
 
 
21
void free_registry(void);
 
22
 
 
23
long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved,
 
24
                   long access, int* newkey);
 
25
long __stdcall RegCloseKey(long key);
 
26
long __stdcall RegQueryValueExA(long key, const char* value, int* reserved,
 
27
                      int* type, int* data, int* count);
 
28
long __stdcall RegCreateKeyExA(long key, const char* name, long reserved,
 
29
                     void* classs, long options, long security,
 
30
                     void* sec_attr, int* newkey, int* status);
 
31
long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2,
 
32
                    const void* data, long size);
 
33
 
 
34
#ifdef __WINE_WINERROR_H
 
35
 
 
36
long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName,
 
37
                   LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass,
 
38
                   LPFILETIME lpftLastWriteTime);
 
39
long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
 
40
                   LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count);
 
41
#endif
 
42
#ifdef __cplusplus
 
43
};
 
44
#endif
 
45
 
 
46
#endif // AVIFILE_REGISTRY_H