Mercurial > mplayer.hg
annotate loader/wine/winreg.h @ 36989:0b80003f6542
Relocate the cut functions.
Put them into the string functions file.
author | ib |
---|---|
date | Thu, 27 Mar 2014 09:15:47 +0000 |
parents | 26f673ba0675 |
children |
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 /* | |
11 #define SHELL_ERROR_SUCCESS 0L | |
12 #define SHELL_ERROR_BADDB 1L | |
13 #define SHELL_ERROR_BADKEY 2L | |
14 #define SHELL_ERROR_CANTOPEN 3L | |
15 #define SHELL_ERROR_CANTREAD 4L | |
16 #define SHELL_ERROR_CANTWRITE 5L | |
17 #define SHELL_ERROR_OUTOFMEMORY 6L | |
18 #define SHELL_ERROR_INVALID_PARAMETER 7L | |
19 #define SHELL_ERROR_ACCESS_DENIED 8L | |
20 */ | |
21 | |
22 #define HKEY_CLASSES_ROOT ((HKEY) 0x80000000) | |
23 #define HKEY_CURRENT_USER ((HKEY) 0x80000001) | |
24 #define HKEY_LOCAL_MACHINE ((HKEY) 0x80000002) | |
25 #define HKEY_USERS ((HKEY) 0x80000003) | |
26 #define HKEY_PERFORMANCE_DATA ((HKEY) 0x80000004) | |
27 #define HKEY_CURRENT_CONFIG ((HKEY) 0x80000005) | |
28 #define HKEY_DYN_DATA ((HKEY) 0x80000006) | |
29 | |
30 /* | |
31 * registry provider structs | |
32 */ | |
29263
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
26045
diff
changeset
|
33 typedef struct value_entA |
1 | 34 { LPSTR ve_valuename; |
35 DWORD ve_valuelen; | |
36 DWORD_PTR ve_valueptr; | |
37 DWORD ve_type; | |
38 } VALENTA, *PVALENTA; | |
39 | |
40 typedef struct value_entW { | |
41 LPWSTR ve_valuename; | |
42 DWORD ve_valuelen; | |
43 DWORD_PTR ve_valueptr; | |
44 DWORD ve_type; | |
45 } VALENTW, *PVALENTW; | |
46 | |
47 typedef ACCESS_MASK REGSAM; | |
48 | |
26045 | 49 #endif /* MPLAYER_WINREG_H */ |