Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cpl.h « include « w32api « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aaec59734e4b16fc1e5df7cafb26b802adba1faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef _CPL_H
#define _CPL_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif

#ifdef __cplusplus
extern "C" {
#endif
#define WM_CPL_LAUNCH (WM_USER+1000)
#define WM_CPL_LAUNCHED (WM_USER+1001)
#define CPL_DYNAMIC_RES 0
#define CPL_INIT 1
#define CPL_GETCOUNT 2
#define CPL_INQUIRE 3
#define CPL_SELECT 4
#define CPL_DBLCLK 5
#define CPL_STOP 6
#define CPL_EXIT 7
#define CPL_NEWINQUIRE 8
#define CPL_STARTWPARMSA 9
#define CPL_STARTWPARMSW 10
#define CPL_SETUP 200
typedef LONG(APIENTRY *APPLET_PROC)(HWND,UINT,LONG,LONG);
typedef struct tagCPLINFO {
	int idIcon;
	int idName;
	int idInfo;
	LONG lData;
} CPLINFO,*LPCPLINFO;
typedef struct tagNEWCPLINFOA {
	DWORD dwSize;
	DWORD dwFlags;
	DWORD dwHelpContext;
	LONG lData;
	HICON hIcon;
	CHAR szName[32];
	CHAR szInfo[64];
	CHAR szHelpFile[128];
} NEWCPLINFOA,*LPNEWCPLINFOA;
typedef struct tagNEWCPLINFOW {
	DWORD dwSize;
	DWORD dwFlags;
	DWORD dwHelpContext;
	LONG lData;
	HICON hIcon;
	WCHAR szName[32];
	WCHAR szInfo[64];
	WCHAR szHelpFile[128];
} NEWCPLINFOW,*LPNEWCPLINFOW;
#ifdef UNICODE
#define CPL_STARTWPARMS CPL_STARTWPARMSW
typedef NEWCPLINFOW NEWCPLINFO,*LPNEWCPLINFO;
#else
#define CPL_STARTWPARMS CPL_STARTWPARMSA
typedef NEWCPLINFOA NEWCPLINFO,*LPNEWCPLINFO;
#endif
#ifdef __cplusplus
}
#endif
#endif