diff --git a/reactos/dll/win32/devmgr/advprop.c b/reactos/dll/win32/devmgr/advprop.c index 0d70ff5ad63..5303bccf838 100644 --- a/reactos/dll/win32/devmgr/advprop.c +++ b/reactos/dll/win32/devmgr/advprop.c @@ -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); } diff --git a/reactos/include/reactos/dll/devmgr/devmgr.h b/reactos/include/reactos/dll/devmgr/devmgr.h index f9a8fca1ec8..169ac5043fb 100644 --- a/reactos/include/reactos/dll/devmgr/devmgr.h +++ b/reactos/include/reactos/dll/devmgr/devmgr.h @@ -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