source: trunk/include/win/cpl.h@ 10367

Last change on this file since 10367 was 5628, checked in by sandervl, 24 years ago

header update

File size: 1.4 KB
Line 
1/* Control panel definitions */
2
3#ifndef _INC_CPL
4#define _INC_CPL
5
6#include "pshpack1.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#define WM_CPL_LAUNCH (WM_USER+1000)
13#define WM_CPL_LAUNCHED (WM_USER+1001)
14
15typedef LONG (* APIENTRY APPLET_PROC)(HWND hwndCpl, UINT msg, LPARAM lParam1, LPARAM lParam2);
16
17typedef struct tagCPLINFO {
18 int idIcon;
19 int idName;
20 int idInfo;
21 LONG lData;
22} CPLINFO, *LPCPLINFO;
23
24typedef 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
36typedef 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
48DECL_WINELIB_TYPE_AW(NEWCPLINFO)
49DECL_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 */
Note: See TracBrowser for help on using the repository browser.