perf.h
上传用户:xhy777
上传日期:2007-02-14
资源大小:24088k
文件大小:1k
源码类别:

系统编程

开发平台:

Visual C++

  1. /*++
  2. Microsoft Confidential
  3. Copyright (c) 1992-1997  Microsoft Corporation
  4. All rights reserved
  5. Module Name:
  6.     perf.h
  7. Abstract:
  8.     Public declarations for the Performance dialog of the 
  9.     System Control Panel Applet
  10. Author:
  11.     Eric Flo (ericflo) 19-Jun-1995
  12. Revision History:
  13.     15-Oct-1997 scotthal
  14.         Complete overhaul
  15. --*/
  16. #ifndef _SYSDM_PERF_H_
  17. #define _SYSDM_PERF_H_
  18. //
  19. //  Reboot switch for crashdump dlg
  20. //
  21. #define RET_ERROR               (-1)
  22. #define RET_NO_CHANGE           0x00
  23. #define RET_VIRTUAL_CHANGE      0x01
  24. #define RET_RECOVER_CHANGE      0x02
  25. #define RET_CHANGE_NO_REBOOT    0x04
  26. #define RET_CONTINUE            0x08
  27. #define RET_BREAK               0x10
  28. #define RET_VIRT_AND_RECOVER (RET_VIRTUAL_CHANGE | RET_RECOVER_CHANGE)
  29. //
  30. // Public function declarations
  31. //
  32. HPROPSHEETPAGE 
  33. CreatePerformancePage(
  34.     IN HINSTANCE hInst
  35. );
  36. INT_PTR 
  37. APIENTRY 
  38. PerformanceDlgProc(
  39.     IN HWND hDlg, 
  40.     IN UINT uMsg, 
  41.     IN WPARAM wParam, 
  42.     IN LPARAM lParam
  43. );
  44. #endif // _SYSDM_PERF_H_