annotate loader/wine/winreg.h @ 16429:84174804804b

Updates to NUT spec: 1. remove average_bitrate 2. add other_stream_header, for subtitles and metadata 3. add max_pts to index 4. index_ptr - a 64 bit integer to say the total length of all index packets 5. specify how to write "multiple" indexes 6. change forward_ptr behavior, starts right after forward_ptr, ends after checksum 7. remove stream_id <-> stream_class limitation. 8. time_base_nom must also be non zero. 9. rename time_base_nom and time_base_denom, now timebase means the length of a tick, not amounts of ticks 10. remove (old?) sample_rate_mul stuff. 11. specify what exactly the checksum covers. 12. specify that stream classes which have multiple streams must have an info packet.. (in new Semantic requirements section) 13. Rename 'timestamp' to pts. 14. Change date of draft... 15. Add myself to authors...
author ods15
date Fri, 09 Sep 2005 10:26:21 +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 */