VirtualBox

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

最後變更 在這個檔案從16410是 16410,由 vboxsync 提交於 16 年 前

export the Wine stuff to OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.2 KB
 
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#ifndef _INC_CPL
22#define _INC_CPL
23
24#include <pshpack1.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#define WM_CPL_LAUNCH (WM_USER+1000)
31#define WM_CPL_LAUNCHED (WM_USER+1001)
32
33typedef LONG (APIENTRY *APPLET_PROC)(HWND hwndCpl, UINT msg, LPARAM lParam1, LPARAM lParam2);
34
35typedef struct tagCPLINFO {
36 int idIcon;
37 int idName;
38 int idInfo;
39 LONG lData;
40} CPLINFO, *LPCPLINFO;
41
42typedef struct tagNEWCPLINFOA
43{
44 DWORD dwSize;
45 DWORD dwFlags;
46 DWORD dwHelpContext;
47 LONG lData;
48 HICON hIcon;
49 CHAR szName[32];
50 CHAR szInfo[64];
51 CHAR szHelpFile[128];
52} NEWCPLINFOA, *LPNEWCPLINFOA;
53
54typedef struct tagNEWCPLINFOW
55{
56 DWORD dwSize;
57 DWORD dwFlags;
58 DWORD dwHelpContext;
59 LONG lData;
60 HICON hIcon;
61 WCHAR szName[32];
62 WCHAR szInfo[64];
63 WCHAR szHelpFile[128];
64} NEWCPLINFOW, *LPNEWCPLINFOW;
65
66DECL_WINELIB_TYPE_AW(NEWCPLINFO)
67DECL_WINELIB_TYPE_AW(LPNEWCPLINFO)
68
69#define CPL_DYNAMIC_RES 0
70#define CPL_INIT 1
71#define CPL_GETCOUNT 2
72#define CPL_INQUIRE 3
73#define CPL_SELECT 4
74#define CPL_DBLCLK 5
75#define CPL_STOP 6
76#define CPL_EXIT 7
77#define CPL_NEWINQUIRE 8
78#define CPL_STARTWPARMSA 9
79#define CPL_STARTWPARMSW 10
80#define CPL_STARTWPARMS WINELIB_NAME_AW(CPL_STARTWPARMS)
81#define CPL_SETUP 200
82
83#ifdef __cplusplus
84}
85#endif
86
87#include <poppack.h>
88
89#endif /* _INC_CPL */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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