Author: weiden
Date: Thu Sep 27 07:08:45 2007
New Revision: 29233
URL:
http://svn.reactos.org/svn/reactos?rev=29233&view=rev
Log:
Display the display adapter properties with extended pages
Modified:
trunk/reactos/dll/win32/shellext/deskadp/deskadp.c
Modified: trunk/reactos/dll/win32/shellext/deskadp/deskadp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shellext/deskadp…
==============================================================================
--- trunk/reactos/dll/win32/shellext/deskadp/deskadp.c (original)
+++ trunk/reactos/dll/win32/shellext/deskadp/deskadp.c Thu Sep 27 07:08:45 2007
@@ -5,7 +5,7 @@
static HINSTANCE hInstance;
-typedef INT_PTR (WINAPI *PDEVICEPROPERTIESEXW)(HWND,LPCWSTR,LPCWSTR,DWORD,BOOL);
+typedef INT_PTR (WINAPI *PDEVICEPROPERTIESW)(HWND,LPCWSTR,LPCWSTR,BOOL);
static VOID
GetColorDescription(PDEVMODEW lpDevMode,
@@ -214,20 +214,19 @@
ShowAdapterProperties(PDESKDISPLAYADAPTER This)
{
HMODULE hDevMgr;
- PDEVICEPROPERTIESEXW pDevicePropertiesExW;
+ PDEVICEPROPERTIESW pDevicePropertiesW;
hDevMgr = LoadLibrary(TEXT("devmgr.dll"));
if (hDevMgr != NULL)
{
- pDevicePropertiesExW = (PDEVICEPROPERTIESEXW)GetProcAddress(hDevMgr,
-
"DevicePropertiesExW");
- if (pDevicePropertiesExW != NULL)
+ pDevicePropertiesW = (PDEVICEPROPERTIESW)GetProcAddress(hDevMgr,
+
"DevicePropertiesW");
+ if (pDevicePropertiesW != NULL)
{
- pDevicePropertiesExW(This->hwndDlg,
- NULL,
- This->lpDeviceId,
- 0,
- FALSE);
+ pDevicePropertiesW(This->hwndDlg,
+ NULL,
+ This->lpDeviceId,
+ FALSE);
}
FreeLibrary(hDevMgr);