~bratsche/vlc/vlc-notify-add-actions-with-server-support

« back to all changes in this revision

Viewing changes to loader/wine/winreg.h

  • Committer: Bazaar Package Importer
  • Date: 2008-11-28 09:41:28 UTC
  • Revision ID: jamesw@ubuntu.com-20081128094128-qc1zhxqwlf2ov8cl
Tags: upstream-ubuntu-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *              Win32 registry defines (see also winnt.h)
3
 
 */
4
 
#ifndef __WINE_WINREG_H
5
 
#define __WINE_WINREG_H
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
 
 
57
 
#endif  /* __WINE_WINREG_H */