typo fixes
[mplayer/glamo.git] / loader / registry.h
blob4e5e708f30bf862a46532d19f7f5b60d3fe36068
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 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 void free_registry(void);
22 long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved,
23 long access, int* newkey);
24 long __stdcall RegCloseKey(long key);
25 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved,
26 int* type, int* data, int* count);
27 long __stdcall RegCreateKeyExA(long key, const char* name, long reserved,
28 void* classs, long options, long security,
29 void* sec_attr, int* newkey, int* status);
30 long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2,
31 const void* data, long size);
33 #ifdef MPLAYER_WINERROR_H
35 long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName,
36 LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass,
37 LPFILETIME lpftLastWriteTime);
38 long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
39 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count);
40 #endif
41 #ifdef __cplusplus
43 #endif
45 #endif /* MPLAYER_REGISTRY_H */