comparison fuhtark_test/include/winapi/cpl.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef _INC_CPL
7 #define _INC_CPL
8
9 #include <pshpack1.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 #define WM_CPL_LAUNCH (WM_USER+1000)
16 #define WM_CPL_LAUNCHED (WM_USER+1001)
17
18 #define CPL_DYNAMIC_RES 0
19 #define CPL_INIT 1
20 #define CPL_GETCOUNT 2
21 #define CPL_INQUIRE 3
22 #define CPL_SELECT 4
23 #define CPL_DBLCLK 5
24 #define CPL_STOP 6
25 #define CPL_EXIT 7
26 #define CPL_NEWINQUIRE 8
27 #define CPL_STARTWPARMSA 9
28 #define CPL_STARTWPARMSW 10
29
30 typedef LONG (WINAPI *APPLET_PROC)(HWND hwndCpl,UINT msg,LPARAM lParam1,LPARAM lParam2);
31
32 typedef struct tagCPLINFO {
33 int idIcon;
34 int idName;
35 int idInfo;
36 LONG_PTR lData;
37 } CPLINFO,*LPCPLINFO;
38
39 typedef struct tagNEWCPLINFOA {
40 DWORD dwSize;
41 DWORD dwFlags;
42 DWORD dwHelpContext;
43 LONG_PTR lData;
44 HICON hIcon;
45 CHAR szName[32];
46 CHAR szInfo[64];
47 CHAR szHelpFile[128];
48 } NEWCPLINFOA,*LPNEWCPLINFOA;
49
50 typedef struct tagNEWCPLINFOW {
51 DWORD dwSize;
52 DWORD dwFlags;
53 DWORD dwHelpContext;
54 LONG_PTR lData;
55 HICON hIcon;
56 WCHAR szName[32];
57 WCHAR szInfo[64];
58 WCHAR szHelpFile[128];
59 } NEWCPLINFOW,*LPNEWCPLINFOW;
60
61 #ifdef UNICODE
62 typedef NEWCPLINFOW NEWCPLINFO;
63 typedef LPNEWCPLINFOW LPNEWCPLINFO;
64
65 #define CPL_STARTWPARMS CPL_STARTWPARMSW
66 #else
67 typedef NEWCPLINFOA NEWCPLINFO;
68 typedef LPNEWCPLINFOA LPNEWCPLINFO;
69
70 #define CPL_STARTWPARMS CPL_STARTWPARMSA
71 #endif
72
73 #define CPL_SETUP 200
74
75 #ifdef __cplusplus
76 }
77 #endif
78
79 #include <poppack.h>
80 #endif