annotate loader/wine/winreg.h @ 13120:3c861fe67ff2

updates by Guillaume POIRIER <gpoirier@irisa.fr>
author diego
date Tue, 24 Aug 2004 19:08:29 +0000
parents 3b5f5d1c5041
children c98c9e7f3bd0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 * Win32 registry defines (see also winnt.h)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 #ifndef __WINE_WINREG_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #define __WINE_WINREG_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 #include "winbase.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 #include "winnt.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 extern "C" {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #endif /* defined(__cplusplus) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 #define SHELL_ERROR_SUCCESS 0L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 #define SHELL_ERROR_BADDB 1L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 #define SHELL_ERROR_BADKEY 2L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 #define SHELL_ERROR_CANTOPEN 3L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 #define SHELL_ERROR_CANTREAD 4L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 #define SHELL_ERROR_CANTWRITE 5L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 #define SHELL_ERROR_OUTOFMEMORY 6L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 #define SHELL_ERROR_INVALID_PARAMETER 7L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 #define SHELL_ERROR_ACCESS_DENIED 8L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define HKEY_CLASSES_ROOT ((HKEY) 0x80000000)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define HKEY_CURRENT_USER ((HKEY) 0x80000001)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define HKEY_LOCAL_MACHINE ((HKEY) 0x80000002)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 #define HKEY_USERS ((HKEY) 0x80000003)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 #define HKEY_PERFORMANCE_DATA ((HKEY) 0x80000004)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 #define HKEY_CURRENT_CONFIG ((HKEY) 0x80000005)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 #define HKEY_DYN_DATA ((HKEY) 0x80000006)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 * registry provider structs
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 typedef struct value_entA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 { LPSTR ve_valuename;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 DWORD ve_valuelen;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 DWORD_PTR ve_valueptr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 DWORD ve_type;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 } VALENTA, *PVALENTA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 typedef struct value_entW {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 LPWSTR ve_valuename;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 DWORD ve_valuelen;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 DWORD_PTR ve_valueptr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 DWORD ve_type;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 } VALENTW, *PVALENTW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 typedef ACCESS_MASK REGSAM;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 } /* extern "C" */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 #endif /* defined(__cplusplus) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 #endif /* __WINE_WINREG_H */