vo_glamo: sub.h was moved to sub directory in c9026cb3210205b07e2e068467a18ee40f9259a3
[mplayer/glamo.git] / loader / registry.h
blob1b2a12afd7f6a8806405174b707e52c86cb1fa68
1 #ifndef MPLAYER_REGISTRY_H
2 #define MPLAYER_REGISTRY_H
4 /********************************************************
6 * Declaration of registry access functions
7 * Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
9 ********************************************************/
12 * Modified for use with MPlayer, detailed changelog at
13 * http://svn.mplayerhq.hu/mplayer/trunk/
16 #include "wine/winbase.h"
18 void free_registry(void);
20 long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved,
21 long access, int* newkey);
22 long __stdcall RegCloseKey(long key);
23 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved,
24 int* type, int* data, int* count);
25 long __stdcall RegCreateKeyExA(long key, const char* name, long reserved,
26 void* classs, long options, long security,
27 void* sec_attr, int* newkey, int* status);
28 long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2,
29 const void* data, long size);
31 #ifdef MPLAYER_WINERROR_H
33 long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName,
34 LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass,
35 LPFILETIME lpftLastWriteTime);
36 long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
37 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count);
38 #endif
40 #endif /* MPLAYER_REGISTRY_H */