mscoree: Correct possible uninitialized variable (clang).
[wine/multimedia.git] / dlls / joy.cpl / joy.h
blobbe7907a2714d4497bebdc8b1bd72069b164e9b8b
1 /*
2 * Joystick testing control panel applet resources and definitions
4 * Copyright 2012 Lucas Fialho Zawacki
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.
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.
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
22 #ifndef __WINE_JOYSTICKCPL__
23 #define __WINE_JOYSTICKCPL__
25 #include <winuser.h>
26 #include <windef.h>
27 #include <commctrl.h>
28 #include <dinput.h>
30 extern HMODULE hcpl;
32 struct Joystick {
33 IDirectInputDevice8W *device;
34 DIDEVICEINSTANCEW instance;
35 int num_buttons;
36 int num_axes;
39 struct JoystickData {
40 IDirectInput8W *di;
41 struct Joystick *joysticks;
42 int num_joysticks;
43 int cur_joystick;
44 int chosen_joystick;
47 #define NUM_PROPERTY_PAGES 3
49 /* strings */
50 #define IDS_CPL_NAME 1
51 #define IDS_CPL_INFO 2
53 /* dialogs */
54 #define IDC_STATIC -1
56 #define IDD_LIST 1000
57 #define IDD_TEST 1001
58 #define IDD_FORCEFEEDBACK 1002
60 #define IDC_JOYSTICKLIST 2000
61 #define IDC_BUTTONDISABLE 2001
62 #define IDC_BUTTONENABLE 2002
63 #define IDC_DISABLEDLIST 2003
65 #endif