Implemented inline version of the iswxxx functions.
[wine] / include / cpl.h
1 /* Control panel definitions */
2
3 #ifndef _INC_CPL
4 #define _INC_CPL
5
6 #include "pshpack1.h"
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 #define WM_CPL_LAUNCH   (WM_USER+1000)
13 #define WM_CPL_LAUNCHED (WM_USER+1001)
14
15 typedef LONG (APIENTRY *APPLET_PROC)(HWND hwndCpl, UINT msg, LPARAM lParam1, LPARAM lParam2);
16
17 typedef struct tagCPLINFO {
18     int     idIcon;
19     int     idName;
20     int     idInfo;
21     LONG    lData;
22 } CPLINFO, *LPCPLINFO;
23
24 typedef struct tagNEWCPLINFOA
25 {
26     DWORD   dwSize;
27     DWORD   dwFlags;
28     DWORD   dwHelpContext;
29     LONG    lData;
30     HICON   hIcon;
31     CHAR    szName[32];
32     CHAR    szInfo[64];
33     CHAR    szHelpFile[128];
34 } NEWCPLINFOA, *LPNEWCPLINFOA;
35
36 typedef struct tagNEWCPLINFOW
37 {
38     DWORD   dwSize;
39     DWORD   dwFlags;
40     DWORD   dwHelpContext;
41     LONG    lData;
42     HICON   hIcon;
43     WCHAR   szName[32];
44     WCHAR   szInfo[64];
45     WCHAR   szHelpFile[128];
46 } NEWCPLINFOW, *LPNEWCPLINFOW;
47
48 DECL_WINELIB_TYPE_AW(NEWCPLINFO)
49 DECL_WINELIB_TYPE_AW(LPNEWCPLINFO)
50
51 #define CPL_DYNAMIC_RES         0
52 #define CPL_INIT                1
53 #define CPL_GETCOUNT            2
54 #define CPL_INQUIRE             3
55 #define CPL_SELECT              4
56 #define CPL_DBLCLK              5
57 #define CPL_STOP                6
58 #define CPL_EXIT                7
59 #define CPL_NEWINQUIRE          8
60 #define CPL_STARTWPARMSA        9
61 #define CPL_STARTWPARMSW        10
62 #define CPL_STARTWPARMS WINELIB_NAME_AW(CPL_STARTWPARMS)
63 #define CPL_SETUP               200
64
65 #ifdef __cplusplus
66 }
67 #endif
68
69 #include "poppack.h"
70
71 #endif /* _INC_CPL */