Mercurial > mplayer.hg
annotate loader/wine/winreg.h @ 30161:c81c29a219fa
Add missing license headers for vo_matrixview code.
author | diego |
---|---|
date | Mon, 04 Jan 2010 13:05:52 +0000 |
parents | 0f1b5b68af32 |
children | 26f673ba0675 |
rev | line source |
---|---|
1 | 1 /* |
2 * Win32 registry defines (see also winnt.h) | |
3 */ | |
26045 | 4 #ifndef MPLAYER_WINREG_H |
5 #define MPLAYER_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 */ | |
29263
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
26045
diff
changeset
|
37 typedef struct value_entA |
1 | 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 | |
26045 | 57 #endif /* MPLAYER_WINREG_H */ |