Mercurial > mplayer.hg
annotate loader/wine/winreg.h @ 24963:0a733c2c577e
Fix possible null-pointer-dereference in stream_fill_buffer().
author | cehoyos |
---|---|
date | Thu, 08 Nov 2007 23:07:19 +0000 |
parents | c98c9e7f3bd0 |
children | a8ea87c71d18 |
rev | line source |
---|---|
1 | 1 /* |
2 * Win32 registry defines (see also winnt.h) | |
3 */ | |
24422
c98c9e7f3bd0
Remove leading underscores from multiple inclusion guards,
diego
parents:
1
diff
changeset
|
4 #ifndef WINE_WINREG_H |
c98c9e7f3bd0
Remove leading underscores from multiple inclusion guards,
diego
parents:
1
diff
changeset
|
5 #define WINE_WINREG_H |
1 | 6 |
7 #include "winbase.h" | |
8 #include "winnt.h" | |
9 | |
10 #ifdef __cplusplus | |
11 extern "C" { | |
12 #endif /* defined(__cplusplus) */ | |
13 | |
14 /* | |
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 | |
24 */ | |
25 | |
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) | |
33 | |
34 /* | |
35 * registry provider structs | |
36 */ | |
37 typedef struct value_entA | |
38 { LPSTR ve_valuename; | |
39 DWORD ve_valuelen; | |
40 DWORD_PTR ve_valueptr; | |
41 DWORD ve_type; | |
42 } VALENTA, *PVALENTA; | |
43 | |
44 typedef struct value_entW { | |
45 LPWSTR ve_valuename; | |
46 DWORD ve_valuelen; | |
47 DWORD_PTR ve_valueptr; | |
48 DWORD ve_type; | |
49 } VALENTW, *PVALENTW; | |
50 | |
51 typedef ACCESS_MASK REGSAM; | |
52 | |
53 #ifdef __cplusplus | |
54 } /* extern "C" */ | |
55 #endif /* defined(__cplusplus) */ | |
56 | |
24422
c98c9e7f3bd0
Remove leading underscores from multiple inclusion guards,
diego
parents:
1
diff
changeset
|
57 #endif /* WINE_WINREG_H */ |