2 * PROJECT: ReactOS System Control Panel Applet
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: dll/cpl/sysdm/hardware.c
5 * PURPOSE: Hardware devices
6 * COPYRIGHT: Copyright Thomas Weidenmueller <w3seek@reactos.org>
12 typedef BOOL (STDCALL
*PDEVMGREXEC
)(HWND hWndParent
, HINSTANCE hInst
, PVOID Unknown
, int nCmdShow
);
13 BOOL
LaunchDeviceManager(HWND hWndParent
)
16 PDEVMGREXEC DevMgrExec
;
19 hDll
= LoadLibrary(_TEXT("devmgr.dll"));
22 DevMgrExec
= (PDEVMGREXEC
)GetProcAddress(hDll
, "DeviceManager_ExecuteW");
28 /* run the Device Manager */
29 Ret
= DevMgrExec(hWndParent
, hApplet
, NULL
/* ??? */, SW_SHOW
);
34 /* Property page dialog callback */
43 UNREFERENCED_PARAMETER(lParam
);
49 switch(LOWORD(wParam
))
51 case IDC_HARDWARE_DEVICE_MANAGER
:
52 if(!LaunchDeviceManager(hwndDlg
))