VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/cpl.h@ 30919

Last change on this file since 30919 was 16477, checked in by vboxsync, 16 years ago

LGPL disclaimer by filemuncher

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1/*
2 * Control panel definitions
3 *
4 * Copyright (C) 2001 Eric Pouech
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21/*
22 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
23 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
24 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
25 * a choice of LGPL license versions is made available with the language indicating
26 * that LGPLv2 or any later version may be used, or where a choice of which version
27 * of the LGPL is applied is otherwise unspecified.
28 */
29
30#ifndef _INC_CPL
31#define _INC_CPL
32
33#include <pshpack1.h>
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39#define WM_CPL_LAUNCH (WM_USER+1000)
40#define WM_CPL_LAUNCHED (WM_USER+1001)
41
42typedef LONG (APIENTRY *APPLET_PROC)(HWND hwndCpl, UINT msg, LPARAM lParam1, LPARAM lParam2);
43
44typedef struct tagCPLINFO {
45 int idIcon;
46 int idName;
47 int idInfo;
48 LONG lData;
49} CPLINFO, *LPCPLINFO;
50
51typedef struct tagNEWCPLINFOA
52{
53 DWORD dwSize;
54 DWORD dwFlags;
55 DWORD dwHelpContext;
56 LONG lData;
57 HICON hIcon;
58 CHAR szName[32];
59 CHAR szInfo[64];
60 CHAR szHelpFile[128];
61} NEWCPLINFOA, *LPNEWCPLINFOA;
62
63typedef struct tagNEWCPLINFOW
64{
65 DWORD dwSize;
66 DWORD dwFlags;
67 DWORD dwHelpContext;
68 LONG lData;
69 HICON hIcon;
70 WCHAR szName[32];
71 WCHAR szInfo[64];
72 WCHAR szHelpFile[128];
73} NEWCPLINFOW, *LPNEWCPLINFOW;
74
75DECL_WINELIB_TYPE_AW(NEWCPLINFO)
76DECL_WINELIB_TYPE_AW(LPNEWCPLINFO)
77
78#define CPL_DYNAMIC_RES 0
79#define CPL_INIT 1
80#define CPL_GETCOUNT 2
81#define CPL_INQUIRE 3
82#define CPL_SELECT 4
83#define CPL_DBLCLK 5
84#define CPL_STOP 6
85#define CPL_EXIT 7
86#define CPL_NEWINQUIRE 8
87#define CPL_STARTWPARMSA 9
88#define CPL_STARTWPARMSW 10
89#define CPL_STARTWPARMS WINELIB_NAME_AW(CPL_STARTWPARMS)
90#define CPL_SETUP 200
91
92#ifdef __cplusplus
93}
94#endif
95
96#include <poppack.h>
97
98#endif /* _INC_CPL */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette