mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Fix implementation of DevicePropertiesA/W to show extended pages
svn path=/trunk/; revision=29232
This commit is contained in:
parent
1f14f9be20
commit
96186bac97
2 changed files with 5 additions and 5 deletions
|
@ -1813,10 +1813,10 @@ DevicePropertiesExW(IN HWND hWndParent OPTIONAL,
|
|||
{
|
||||
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 @@ DevicePropertiesA(HWND hWndParent,
|
|||
return DevicePropertiesExA(hWndParent,
|
||||
lpMachineName,
|
||||
lpDeviceID,
|
||||
0,
|
||||
DPF_EXTENDED,
|
||||
bShowDevMgr);
|
||||
}
|
||||
|
||||
|
@ -1944,7 +1944,7 @@ DevicePropertiesW(HWND hWndParent,
|
|||
return DevicePropertiesExW(hWndParent,
|
||||
lpMachineName,
|
||||
lpDeviceID,
|
||||
0,
|
||||
DPF_EXTENDED,
|
||||
bShowDevMgr);
|
||||
}
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ DeviceCreateHardwarePageEx(IN HWND hWndParent,
|
|||
IN UINT uNumberOfGuids,
|
||||
IN HWPAGE_DISPLAYMODE DisplayMode);
|
||||
|
||||
#define DPF_UNKNOWN (0x1)
|
||||
#define DPF_EXTENDED (0x1)
|
||||
#define DPF_DEVICE_STATUS_ACTION (0x2)
|
||||
|
||||
INT_PTR
|
||||
|
|
Loading…
Reference in a new issue