annotate loader/wine/winreg.h @ 28477:c01c5cffba71

Document coeff and length fields in SwsVector.
author stefano
date Mon, 09 Feb 2009 23:42:16 +0000
parents a8ea87c71d18
children 0f1b5b68af32
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 */
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 24422
diff changeset
4 #ifndef MPLAYER_WINREG_H
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 24422
diff changeset
5 #define MPLAYER_WINREG_H
1
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
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 24422
diff changeset
57 #endif /* MPLAYER_WINREG_H */