fix a DeviceCreateHardwarePageEx call
authorThomas Bluemel <thomas@reactsoft.com>
Fri, 25 Nov 2005 14:19:42 +0000 (14:19 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Fri, 25 Nov 2005 14:19:42 +0000 (14:19 +0000)
svn path=/trunk/; revision=19552

reactos/lib/cpl/mmsys/mmsys.c

index d9c8367..d9a5c51 100644 (file)
 #include "mmsys.h"
 #include "resource.h"
 
+typedef enum
+{
+    HWPD_STANDARDLIST = 0,
+    HWPD_LARGELIST,
+    HWPD_MAX = HWPD_LARGELIST
+} HWPAGE_DISPLAYMODE, *PHWPAGE_DISPLAYMODE;
+
 HWND WINAPI
 DeviceCreateHardwarePageEx(HWND hWndParent,
                            LPGUID lpGuids,
                            UINT uNumberOfGuids,
-                           UINT Unknown);
+                           HWPAGE_DISPLAYMODE DisplayMode);
 
 #define NUM_APPLETS    (1)
 
@@ -73,7 +80,7 @@ HardwareDlgProc(HWND hwndDlg,
             DeviceCreateHardwarePageEx(hwndDlg,
                                        Guids,
                                        sizeof(Guids) / sizeof(Guids[0]),
-                                       1);
+                                       HWPD_LARGELIST);
             break;
         }
     }