mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
Display the resource page in device properties
svn path=/trunk/; revision=29238
This commit is contained in:
parent
8ecd472083
commit
f64ff394df
|
@ -87,7 +87,7 @@ OpenPropSheet(HWND hTreeView,
|
||||||
DevicePropertiesExW(hTreeView,
|
DevicePropertiesExW(hTreeView,
|
||||||
NULL,
|
NULL,
|
||||||
(LPTSTR)tvItem.lParam,
|
(LPTSTR)tvItem.lParam,
|
||||||
0,
|
DPF_EXTENDED,
|
||||||
FALSE);
|
FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include <setupapi.h>
|
#include <setupapi.h>
|
||||||
#include <cfgmgr32.h>
|
#include <cfgmgr32.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
|
#include <dll/devmgr/devmgr.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
@ -53,26 +54,6 @@ HWND CreateMainWindow(LPCTSTR lpCaption, int nCmdShow);
|
||||||
|
|
||||||
|
|
||||||
/* enumdevices.c */
|
/* 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 FreeDeviceStrings(HWND hTreeView);
|
||||||
VOID OpenPropSheet(HWND hTreeView, HTREEITEM hItem);
|
VOID OpenPropSheet(HWND hTreeView, HTREEITEM hItem);
|
||||||
|
|
Loading…
Reference in a new issue