2 * Win32 registry defines (see also winnt.h)
4 #ifndef MPLAYER_WINREG_H
5 #define MPLAYER_WINREG_H
11 #define SHELL_ERROR_SUCCESS 0L
12 #define SHELL_ERROR_BADDB 1L
13 #define SHELL_ERROR_BADKEY 2L
14 #define SHELL_ERROR_CANTOPEN 3L
15 #define SHELL_ERROR_CANTREAD 4L
16 #define SHELL_ERROR_CANTWRITE 5L
17 #define SHELL_ERROR_OUTOFMEMORY 6L
18 #define SHELL_ERROR_INVALID_PARAMETER 7L
19 #define SHELL_ERROR_ACCESS_DENIED 8L
22 #define HKEY_CLASSES_ROOT ((HKEY) 0x80000000)
23 #define HKEY_CURRENT_USER ((HKEY) 0x80000001)
24 #define HKEY_LOCAL_MACHINE ((HKEY) 0x80000002)
25 #define HKEY_USERS ((HKEY) 0x80000003)
26 #define HKEY_PERFORMANCE_DATA ((HKEY) 0x80000004)
27 #define HKEY_CURRENT_CONFIG ((HKEY) 0x80000005)
28 #define HKEY_DYN_DATA ((HKEY) 0x80000006)
31 * registry provider structs
33 typedef struct value_entA
36 DWORD_PTR ve_valueptr
;
40 typedef struct value_entW
{
43 DWORD_PTR ve_valueptr
;
47 typedef ACCESS_MASK REGSAM
;
49 #endif /* MPLAYER_WINREG_H */