update for HEAD-2003091401
[reactos.git] / subsys / system / explorer / winefile / plugins / ex_bar.h
1 //
2 // Explorer Shutdown PlugIn
3 // 
4 // Alexander Ciobanu
5 // alex@prodidactica.md
6 //
7
8 /*
9   This file Contains structures and other stuff needed to develop plugins for
10   Explorer Bar
11 */
12 typedef struct _EXBAR_INFO {
13    int x;
14    int y;
15    int dx;
16    int dy;
17 } EXBARINFO, *PEXBARINFO;
18
19
20 typedef int (*PInitializePlugIn)(HWND ExplorerHandle);
21 typedef int (*PQuitPlugIn)();
22 typedef char*(*PPlugInInfo)(int InfoNmbr);
23 typedef int (*PPlugInCallBack)(HWND PlgnHandle, UINT Msg, WPARAM wParam, LPARAM lParam);
24 typedef int (*PReloadConfig)();
25 typedef int (*PExplorerInfo)(EXBARINFO* info);
26
27 struct PluginCalls {
28         PInitializePlugIn       InitializePlugIn;
29         PQuitPlugIn                     QuitPlugIn;
30         PReloadConfig           ReloadPlugInConfiguration;
31         PPlugInInfo                     PlugInInfo;
32         PExplorerInfo           ExplorerInfo;
33         PPlugInCallBack         PlugInMessageProc;
34 };
35
36
37 #ifndef _PLUGINS
38 extern struct PluginCalls plugincalls_Menu;
39 extern struct PluginCalls plugincalls_Shutdown;
40 extern struct PluginCalls plugincalls_Clock;
41 #endif