1 /* Control Panel management
3 * Copyright 2001 Eric Pouech
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.
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.
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
20 #ifndef __WINE_SHELL_CPANEL_H
21 #define __WINE_SHELL_CPANEL_H
41 typedef struct CPlApplet
{
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 */
56 typedef struct CPanel
{
60 unsigned total_subprogs
;
62 HIMAGELIST hImageListLarge
;
63 HIMAGELIST hImageListSmall
;
67 /* structure to reference an individual control panel item */
68 typedef struct CPlItem
{
76 CPlApplet
* Control_LoadApplet(HWND hWnd
, LPCWSTR cmd
, CPanel
* panel
) DECLSPEC_HIDDEN
;
77 void Control_UnloadApplet(CPlApplet
* applet
) DECLSPEC_HIDDEN
;
83 #endif /* __WINE_SHELL_CPANEL_H */