Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1007 B

  1. /*++
  2. Microsoft Confidential
  3. Copyright (c) 1992-1997 Microsoft Corporation
  4. All rights reserved
  5. Module Name:
  6. hardware.h
  7. Abstract:
  8. Public declarations for the Hardware tab of the System
  9. Control Panel Applet
  10. Author:
  11. William Hsieh (williamh) 03-Jul-1997
  12. Revision History:
  13. 17-Oct-1997 scotthal
  14. Complete overhaul
  15. --*/
  16. #ifndef _SYSDM_HARDWARE_H_
  17. #define _SYSDM_HARDWARE_H_
  18. //
  19. // Constants and macros
  20. //
  21. #define DEVMGR_FILENAME L"devmgr.dll"
  22. #define WIZARD_FILENAME L"hdwwiz.cpl"
  23. #define WIZARD_PARAMETERS L""
  24. #define WIZARD_VERB L"CPLOpen"
  25. #ifdef UNICODE
  26. #define DEVMGR_EXECUTE_PROC_NAME "DeviceManager_ExecuteW"
  27. #else
  28. #define DEVMGR_EXECUTE_PROC_NAME "DeviceManager_ExecuteA"
  29. #endif
  30. //
  31. // Type definitions
  32. //
  33. typedef BOOL (*PDEVMGR_EXECUTE_PROC)(HWND hwnd, HINSTANCE hInst, LPCTSTR MachineName, int nCmdShow);
  34. INT_PTR
  35. APIENTRY
  36. HardwareDlgProc(
  37. IN HWND hDlg,
  38. IN UINT uMsg,
  39. IN WPARAM wParam,
  40. IN LPARAM lParam
  41. );
  42. #endif // _SYSDM_HARDWARE_H_