Author: weiden
Date: Thu Sep 27 09:51:08 2007
New Revision: 29238
URL:
http://svn.reactos.org/svn/reactos?rev=29238&view=rev
Log:
Display the resource page in device properties
Modified:
trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c
trunk/reactos/base/applications/mscutils/devmgmt/precomp.h
Modified: trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c (original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c Thu Sep 27 09:51:08
2007
@@ -87,7 +87,7 @@
DevicePropertiesExW(hTreeView,
NULL,
(LPTSTR)tvItem.lParam,
- 0,
+ DPF_EXTENDED,
FALSE);
}
Modified: trunk/reactos/base/applications/mscutils/devmgmt/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/precomp.h (original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/precomp.h Thu Sep 27 09:51:08 2007
@@ -9,6 +9,7 @@
#include <setupapi.h>
#include <cfgmgr32.h>
#include <commctrl.h>
+#include <dll/devmgr/devmgr.h>
#include "resource.h"
#ifdef _MSC_VER
@@ -53,26 +54,6 @@
/* enumdevices.c */
-// undocumented API's from devmgr
-#ifdef _UNICODE
-#define DevicePropertiesEx DevicePropertiesExW
-INT_PTR
-WINAPI
-DevicePropertiesExW(IN HWND hWndParent OPTIONAL,
- IN LPCWSTR lpMachineName OPTIONAL,
- IN LPCWSTR lpDeviceID OPTIONAL,
- IN DWORD dwFlags OPTIONAL,
- IN BOOL bShowDevMgr);
-#else
-#define DevicePropertiesEx DevicePropertiesExA
-INT_PTR
-WINAPI
-DevicePropertiesExA(IN HWND hWndParent OPTIONAL,
- IN LPCSTR lpMachineName OPTIONAL,
- IN LPCSTR lpDeviceID OPTIONAL,
- IN DWORD dwFlags OPTIONAL,
- IN BOOL bShowDevMgr);
-#endif
VOID FreeDeviceStrings(HWND hTreeView);
VOID OpenPropSheet(HWND hTreeView, HTREEITEM hItem);