whitespace cosmetics: Remove all trailing whitespace.
[mplayer/glamo.git] / loader / wine / winreg.h
blobede64c0fd56ede51492cc7b6d4730340b47a1f18
1 /*
2 * Win32 registry defines (see also winnt.h)
3 */
4 #ifndef MPLAYER_WINREG_H
5 #define MPLAYER_WINREG_H
7 #include "winbase.h"
8 #include "winnt.h"
10 #ifdef __cplusplus
11 extern "C" {
12 #endif /* defined(__cplusplus) */
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
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)
35 * registry provider structs
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;
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;
51 typedef ACCESS_MASK REGSAM;
53 #ifdef __cplusplus
54 } /* extern "C" */
55 #endif /* defined(__cplusplus) */
57 #endif /* MPLAYER_WINREG_H */