annotate loader/wine/winreg.h @ 35669:e7bd98b3ad6c

Remove pointless variable wsTrue. As a result, wsEvents() becomes a function with void result type.
author ib
date Thu, 17 Jan 2013 15:44:23 +0000
parents 26f673ba0675
children
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 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 #define SHELL_ERROR_SUCCESS 0L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #define SHELL_ERROR_BADDB 1L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #define SHELL_ERROR_BADKEY 2L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #define SHELL_ERROR_CANTOPEN 3L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 #define SHELL_ERROR_CANTREAD 4L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 #define SHELL_ERROR_CANTWRITE 5L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 #define SHELL_ERROR_OUTOFMEMORY 6L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 #define SHELL_ERROR_INVALID_PARAMETER 7L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 #define SHELL_ERROR_ACCESS_DENIED 8L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 #define HKEY_CLASSES_ROOT ((HKEY) 0x80000000)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 #define HKEY_CURRENT_USER ((HKEY) 0x80000001)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 #define HKEY_LOCAL_MACHINE ((HKEY) 0x80000002)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 #define HKEY_USERS ((HKEY) 0x80000003)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define HKEY_PERFORMANCE_DATA ((HKEY) 0x80000004)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define HKEY_CURRENT_CONFIG ((HKEY) 0x80000005)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define HKEY_DYN_DATA ((HKEY) 0x80000006)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 * registry provider structs
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 */
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26045
diff changeset
33 typedef struct value_entA
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 { LPSTR ve_valuename;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 DWORD ve_valuelen;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 DWORD_PTR ve_valueptr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 DWORD ve_type;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 } VALENTA, *PVALENTA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 typedef struct value_entW {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 LPWSTR ve_valuename;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 DWORD ve_valuelen;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 DWORD_PTR ve_valueptr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 DWORD ve_type;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 } VALENTW, *PVALENTW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 typedef ACCESS_MASK REGSAM;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 24422
diff changeset
49 #endif /* MPLAYER_WINREG_H */