hardware.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  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. HPROPSHEETPAGE 
  35. CreateHardwarePage(
  36.     IN HINSTANCE hInst
  37. );
  38. INT_PTR 
  39. APIENTRY 
  40. HardwareDlgProc(
  41.     IN HWND hDlg, 
  42.     IN UINT uMsg, 
  43.     IN WPARAM wParam, 
  44.     IN LPARAM lParam
  45. );
  46. #endif // _SYSDM_HARDWARE_H_