Release 960902
[wine] / include / shell.h
1 /*
2  *                              Shell Library definitions
3  */
4 #include "wintypes.h"
5
6 #ifndef __WINE_SHELL_H
7 #define __WINE_SHELL_H
8
9 #include "windows.h"
10 #include "winreg.h"
11
12 extern INT ShellAbout(HWND hWnd, LPCSTR szApp, LPCSTR szOtherStuff,
13                       HICON16 hIcon);
14 extern void SHELL_LoadRegistry();
15 extern void SHELL_SaveRegistry();
16 extern void SHELL_Init();
17
18 #define SHELL_ERROR_SUCCESS           0L
19 #define SHELL_ERROR_BADDB             1L
20 #define SHELL_ERROR_BADKEY            2L
21 #define SHELL_ERROR_CANTOPEN          3L
22 #define SHELL_ERROR_CANTREAD          4L
23 #define SHELL_ERROR_CANTWRITE         5L
24 #define SHELL_ERROR_OUTOFMEMORY       6L
25 #define SHELL_ERROR_INVALID_PARAMETER 7L
26 #define SHELL_ERROR_ACCESS_DENIED     8L
27
28 typedef struct {           /* structure for dropped files */ 
29         WORD            wSize;
30         POINT16         ptMousePos;   
31         BOOL            fInNonClientArea;
32         /* memory block with filenames follows */     
33 } DROPFILESTRUCT, *LPDROPFILESTRUCT; 
34
35 #define SE_ERR_SHARE            26
36 #define SE_ERR_ASSOCINCOMPLETE  27
37 #define SE_ERR_DDETIMEOUT       28
38 #define SE_ERR_DDEFAIL          29
39 #define SE_ERR_DDEBUSY          30
40 #define SE_ERR_NOASSOC          31
41
42 LRESULT AboutDlgProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam);
43
44 #endif  /* __WINE_SHELL_H */