Author: weiden
Date: Thu Sep 27 07:04:52 2007
New Revision: 29232
URL:
http://svn.reactos.org/svn/reactos?rev=29232&view=rev
Log:
Fix implementation of DevicePropertiesA/W to show extended pages
Modified:
trunk/reactos/dll/win32/devmgr/advprop.c
trunk/reactos/include/reactos/dll/devmgr/devmgr.h
Modified: trunk/reactos/dll/win32/devmgr/advprop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/advprop.c…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/advprop.c (original)
+++ trunk/reactos/dll/win32/devmgr/advprop.c Thu Sep 27 07:04:52 2007
@@ -1813,10 +1813,10 @@
{
INT_PTR Ret = -1;
- if (dwFlags & ~(DPF_UNKNOWN | DPF_DEVICE_STATUS_ACTION))
+ if (dwFlags & ~(DPF_EXTENDED | DPF_DEVICE_STATUS_ACTION))
{
DPRINT1("DevPropertiesExW: Invalid flags: 0x%x\n",
- dwFlags & ~(DPF_UNKNOWN | DPF_DEVICE_STATUS_ACTION));
+ dwFlags & ~(DPF_EXTENDED | DPF_DEVICE_STATUS_ACTION));
SetLastError(ERROR_INVALID_FLAGS);
return -1;
}
@@ -1907,7 +1907,7 @@
return DevicePropertiesExA(hWndParent,
lpMachineName,
lpDeviceID,
- 0,
+ DPF_EXTENDED,
bShowDevMgr);
}
@@ -1944,7 +1944,7 @@
return DevicePropertiesExW(hWndParent,
lpMachineName,
lpDeviceID,
- 0,
+ DPF_EXTENDED,
bShowDevMgr);
}
Modified: trunk/reactos/include/reactos/dll/devmgr/devmgr.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/dll/devmgr…
==============================================================================
--- trunk/reactos/include/reactos/dll/devmgr/devmgr.h (original)
+++ trunk/reactos/include/reactos/dll/devmgr/devmgr.h Thu Sep 27 07:04:52 2007
@@ -137,7 +137,7 @@
IN UINT uNumberOfGuids,
IN HWPAGE_DISPLAYMODE DisplayMode);
-#define DPF_UNKNOWN (0x1)
+#define DPF_EXTENDED (0x1)
#define DPF_DEVICE_STATUS_ACTION (0x2)
INT_PTR