Last change
on this file since 1194 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
1.5 KB
|
Line | |
---|
1 | /**
|
---|
2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
3 | * This file is part of the mingw-w64 runtime package.
|
---|
4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
5 | */
|
---|
6 | #ifndef _INC_CPL
|
---|
7 | #define _INC_CPL
|
---|
8 |
|
---|
9 | #include <_mingw_unicode.h>
|
---|
10 | #include <pshpack1.h>
|
---|
11 |
|
---|
12 | #ifdef __cplusplus
|
---|
13 | extern "C" {
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #define WM_CPL_LAUNCH (WM_USER+1000)
|
---|
17 | #define WM_CPL_LAUNCHED (WM_USER+1001)
|
---|
18 |
|
---|
19 | #define CPL_DYNAMIC_RES 0
|
---|
20 | #define CPL_INIT 1
|
---|
21 | #define CPL_GETCOUNT 2
|
---|
22 | #define CPL_INQUIRE 3
|
---|
23 | #define CPL_SELECT 4
|
---|
24 | #define CPL_DBLCLK 5
|
---|
25 | #define CPL_STOP 6
|
---|
26 | #define CPL_EXIT 7
|
---|
27 | #define CPL_NEWINQUIRE 8
|
---|
28 | #define CPL_STARTWPARMSA 9
|
---|
29 | #define CPL_STARTWPARMSW 10
|
---|
30 |
|
---|
31 | typedef LONG (WINAPI *APPLET_PROC)(HWND hwndCpl,UINT msg,LPARAM lParam1,LPARAM lParam2);
|
---|
32 |
|
---|
33 | typedef struct tagCPLINFO {
|
---|
34 | int idIcon;
|
---|
35 | int idName;
|
---|
36 | int idInfo;
|
---|
37 | LONG_PTR lData;
|
---|
38 | } CPLINFO,*LPCPLINFO;
|
---|
39 |
|
---|
40 | typedef struct tagNEWCPLINFOA {
|
---|
41 | DWORD dwSize;
|
---|
42 | DWORD dwFlags;
|
---|
43 | DWORD dwHelpContext;
|
---|
44 | LONG_PTR lData;
|
---|
45 | HICON hIcon;
|
---|
46 | CHAR szName[32];
|
---|
47 | CHAR szInfo[64];
|
---|
48 | CHAR szHelpFile[128];
|
---|
49 | } NEWCPLINFOA,*LPNEWCPLINFOA;
|
---|
50 |
|
---|
51 | typedef struct tagNEWCPLINFOW {
|
---|
52 | DWORD dwSize;
|
---|
53 | DWORD dwFlags;
|
---|
54 | DWORD dwHelpContext;
|
---|
55 | LONG_PTR lData;
|
---|
56 | HICON hIcon;
|
---|
57 | WCHAR szName[32];
|
---|
58 | WCHAR szInfo[64];
|
---|
59 | WCHAR szHelpFile[128];
|
---|
60 | } NEWCPLINFOW,*LPNEWCPLINFOW;
|
---|
61 |
|
---|
62 | __MINGW_TYPEDEF_AW(NEWCPLINFO)
|
---|
63 | __MINGW_TYPEDEF_AW(LPNEWCPLINFO)
|
---|
64 |
|
---|
65 | #define CPL_STARTWPARMS __MINGW_NAME_AW(CPL_STARTWPARMS)
|
---|
66 |
|
---|
67 | #define CPL_SETUP 200
|
---|
68 |
|
---|
69 | #ifdef __cplusplus
|
---|
70 | }
|
---|
71 | #endif
|
---|
72 |
|
---|
73 | #include <poppack.h>
|
---|
74 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.