ReactOS 0.4.16-dev-336-gb667d82
cpanel.h
Go to the documentation of this file.
1/* Control Panel management
2 *
3 * Copyright 2001 Eric Pouech
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20#ifndef __WINE_SHELL_CPANEL_H
21#define __WINE_SHELL_CPANEL_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27#include <cpl.h>
28
30{
32#ifdef __REACTOS__
33 int idIcon;
34#endif
36 WCHAR name[256];
37 WCHAR info[256];
39};
40
41typedef struct CPlApplet {
42#ifndef __REACTOS__
43 struct list entry;
44#else
45 HANDLE hActCtx;
46#endif
48 LPWSTR cmd; /* path to applet */
49 unsigned count; /* number of subprograms */
50 HMODULE hModule; /* module of loaded applet */
51 APPLET_PROC proc; /* entry point address */
52 struct applet_info info[1]; /* array of count information */
54
55#ifndef __REACTOS__
56typedef struct CPanel {
57 struct list applets;
66
67/* structure to reference an individual control panel item */
68typedef struct CPlItem {
70 unsigned id;
72#else
73typedef int CPanel;
74#endif
75
78
79#ifdef __cplusplus
80} /* extern "C" */
81#endif
82
83#endif /* __WINE_SHELL_CPANEL_H */
HWND hWnd
Definition: settings.c:17
Definition: list.h:37
void Control_UnloadApplet(CPlApplet *applet) DECLSPEC_HIDDEN
Definition: control.c:45
CPlApplet * Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel *panel) DECLSPEC_HIDDEN
Definition: control.c:61
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
static HICON
Definition: imagelist.c:80
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
Definition: cpanel.h:56
HIMAGELIST hImageListLarge
Definition: cpanel.h:62
struct list applets
Definition: cpanel.h:57
HIMAGELIST hImageListSmall
Definition: cpanel.h:63
unsigned total_subprogs
Definition: cpanel.h:60
HINSTANCE hInst
Definition: cpanel.h:59
HWND hWndStatusBar
Definition: cpanel.h:64
HWND hWndListView
Definition: cpanel.h:61
HWND hWnd
Definition: cpanel.h:58
HMODULE hModule
Definition: cpanel.h:50
LPWSTR cmd
Definition: cpanel.h:48
APPLET_PROC proc
Definition: cpanel.h:51
HWND hWnd
Definition: cpanel.h:47
struct list entry
Definition: cpanel.h:43
unsigned count
Definition: cpanel.h:49
Definition: cpanel.h:68
unsigned id
Definition: cpanel.h:70
CPlApplet * applet
Definition: cpanel.h:69
HICON icon
Definition: cpanel.h:35
LONG_PTR data
Definition: cpanel.h:31
WCHAR helpfile[128]
Definition: cpanel.h:38
Definition: ftp_var.h:139
Definition: name.c:39
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185