explorer:
[reactos.git] / reactos / w32api / include / cpl.h
1 #ifndef _CPL_H
2 #define _CPL_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
6
7 #include <pshpack1.h>
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 #define WM_CPL_LAUNCH (WM_USER+1000)
13 #define WM_CPL_LAUNCHED (WM_USER+1001)
14 #define CPL_DYNAMIC_RES 0
15 #define CPL_INIT 1
16 #define CPL_GETCOUNT 2
17 #define CPL_INQUIRE 3
18 #define CPL_SELECT 4
19 #define CPL_DBLCLK 5
20 #define CPL_STOP 6
21 #define CPL_EXIT 7
22 #define CPL_NEWINQUIRE 8
23 #define CPL_STARTWPARMSA 9
24 #define CPL_STARTWPARMSW 10
25 #define CPL_SETUP 200
26 typedef LONG(APIENTRY *APPLET_PROC)(HWND,UINT,LPARAM,LPARAM);
27 typedef struct tagCPLINFO {
28 int idIcon;
29 int idName;
30 int idInfo;
31 LONG_PTR lData;
32 } CPLINFO,*LPCPLINFO;
33 typedef struct tagNEWCPLINFOA {
34 DWORD dwSize;
35 DWORD dwFlags;
36 DWORD dwHelpContext;
37 LONG_PTR lData;
38 HICON hIcon;
39 CHAR szName[32];
40 CHAR szInfo[64];
41 CHAR szHelpFile[128];
42 } NEWCPLINFOA,*LPNEWCPLINFOA;
43 typedef struct tagNEWCPLINFOW {
44 DWORD dwSize;
45 DWORD dwFlags;
46 DWORD dwHelpContext;
47 LONG_PTR lData;
48 HICON hIcon;
49 WCHAR szName[32];
50 WCHAR szInfo[64];
51 WCHAR szHelpFile[128];
52 } NEWCPLINFOW,*LPNEWCPLINFOW;
53 #ifdef UNICODE
54 #define CPL_STARTWPARMS CPL_STARTWPARMSW
55 typedef NEWCPLINFOW NEWCPLINFO,*LPNEWCPLINFO;
56 #else
57 #define CPL_STARTWPARMS CPL_STARTWPARMSA
58 typedef NEWCPLINFOA NEWCPLINFO,*LPNEWCPLINFO;
59 #endif
60 #ifdef __cplusplus
61 }
62 #endif
63 #include <poppack.h>
64 #endif
65