Release 950319
[wine] / include / shell.h
1 /*
2  *                              Shell Library definitions
3  */
4
5 #define ERROR_SUCCESS           0L
6 #define ERROR_BADDB             1L
7 #define ERROR_BADKEY            2L
8 #define ERROR_CANTOPEN          3L
9 #define ERROR_CANTREAD          4L
10 #define ERROR_CANTWRITE         5L
11 #define ERROR_OUTOFMEMORY       6L
12 #define ERROR_INVALID_PARAMETER 7L
13 #define ERROR_ACCESS_DENIED     8L
14
15 #define REG_SZ                  1           /* string type */
16
17 #define HKEY_CLASSES_ROOT       1
18
19 typedef DWORD HKEY;
20 typedef HKEY FAR* LPHKEY;
21
22 typedef struct tagKEYSTRUCT {
23         HKEY            hKey;
24         LPSTR           lpSubKey;
25         DWORD           dwType;
26         LPSTR           lpValue;
27         struct tagKEYSTRUCT *lpPrevKey;
28         struct tagKEYSTRUCT *lpNextKey;
29         struct tagKEYSTRUCT *lpSubLvl;
30         } KEYSTRUCT;
31 typedef KEYSTRUCT *LPKEYSTRUCT;
32
33 #define SE_ERR_SHARE            26
34 #define SE_ERR_ASSOCINCOMPLETE  27
35 #define SE_ERR_DDETIMEOUT       28
36 #define SE_ERR_DDEFAIL          29
37 #define SE_ERR_DDEBUSY          30
38 #define SE_ERR_NOASSOC          31
39
40