winejoystick: Fix a crash on accessing a CFArray past its end due to an off-by-one...
[wine/multimedia.git] / dlls / dinput / dinput.rc
blob56d111c8c20da2ad2917128bec5bf183ef63faeb
1 /*
2  * Copyright 2001 Ove Kaaven
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
19 #include "resource.h"
21 #define WINE_FILEDESCRIPTION_STR "Wine DirectInput"
22 #define WINE_FILENAME_STR "dinput.dll"
23 #define WINE_FILEVERSION 5,1,2600,881
24 #define WINE_FILEVERSION_STR "5.1.2600.881"
25 #define WINE_PRODUCTVERSION 5,1,2600,881
26 #define WINE_PRODUCTVERSION_STR "5.1"
28 #include "wine/wine_common_ver.rc"
30 #pragma makedep po
32 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
34 STRINGTABLE
35 BEGIN
36     IDS_ACTIONCOLUMN       "Action"
37     IDS_OBJECTCOLUMN       "Object"
38 END
40 IDD_CONFIGUREDEVICES DIALOG 0, 0, 270, 260
41 STYLE DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_CAPTION | WS_VISIBLE
42 CAPTION "Configure Devices"
43 FONT 8, "MS Shell Dlg"
45     DEFPUSHBUTTON   "OK", IDOK, 10, 236, 50, 14
46     PUSHBUTTON      "Cancel", IDCANCEL, 65, 236, 50, 14
47     PUSHBUTTON      "Reset", IDC_RESET, 210, 236, 50, 14
48     COMBOBOX        IDC_PLAYERCOMBO, 10, 50, 90, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
49     COMBOBOX        IDC_CONTROLLERCOMBO, 10, 20, 90, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
50     LTEXT           "Player", IDC_PLAYERTEXT, 10, 40, 90, 8, SS_LEFT
51     LTEXT           "Device", IDC_DEVICETEXT, 10, 10, 90, 8, SS_LEFT
52     LTEXT           "Actions", IDC_ACTIONTEXT, 10, 70, 90, 8, SS_LEFT
53     LTEXT           "Mapping", IDC_MAPPINGTEXT, 120, 8, 90, 8, SS_LEFT
54     LISTBOX         IDC_ACTIONLIST, 10, 80, 90, 130, WS_TABSTOP | WS_VSCROLL | LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
55     AUTOCHECKBOX    "Show Assigned First", IDC_CHECKBOXSORT, 120, 215, 90, 8
56     CONTROL         "", IDC_DEVICEOBJECTSLIST,  "SysListView32", LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT | LVS_SHOWSELALWAYS | LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 120, 20, 140, 190