2
* Win32 registry defines (see also winnt.h)
4
#ifndef __WINE_WINREG_H
5
#define __WINE_WINREG_H
12
#endif /* defined(__cplusplus) */
15
#define SHELL_ERROR_SUCCESS 0L
16
#define SHELL_ERROR_BADDB 1L
17
#define SHELL_ERROR_BADKEY 2L
18
#define SHELL_ERROR_CANTOPEN 3L
19
#define SHELL_ERROR_CANTREAD 4L
20
#define SHELL_ERROR_CANTWRITE 5L
21
#define SHELL_ERROR_OUTOFMEMORY 6L
22
#define SHELL_ERROR_INVALID_PARAMETER 7L
23
#define SHELL_ERROR_ACCESS_DENIED 8L
26
#define HKEY_CLASSES_ROOT ((HKEY) 0x80000000)
27
#define HKEY_CURRENT_USER ((HKEY) 0x80000001)
28
#define HKEY_LOCAL_MACHINE ((HKEY) 0x80000002)
29
#define HKEY_USERS ((HKEY) 0x80000003)
30
#define HKEY_PERFORMANCE_DATA ((HKEY) 0x80000004)
31
#define HKEY_CURRENT_CONFIG ((HKEY) 0x80000005)
32
#define HKEY_DYN_DATA ((HKEY) 0x80000006)
35
* registry provider structs
37
typedef struct value_entA
40
DWORD_PTR ve_valueptr;
44
typedef struct value_entW {
47
DWORD_PTR ve_valueptr;
51
typedef ACCESS_MASK REGSAM;
55
#endif /* defined(__cplusplus) */
57
#endif /* __WINE_WINREG_H */