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.

57 lines
1.4 KiB

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. browsdlg.h
  5. Abstract:
  6. data types and definitions used by counter browser dialog functions
  7. --*/
  8. #ifndef _BROWSDLG_H_
  9. #define _BROWSDLG_H_
  10. typedef struct _PDHI_BROWSE_DLG_INFO {
  11. PPDH_BROWSE_DLG_CONFIG_W pWideStruct;
  12. PPDH_BROWSE_DLG_CONFIG_A pAnsiStruct;
  13. HLOG hDataSource;
  14. } PDHI_BROWSE_DLG_INFO, *PPDHI_BROWSE_DLG_INFO;
  15. typedef struct _PDHI_BROWSE_DIALOG_DATA {
  16. PPDHI_BROWSE_DLG_INFO pDlgData;
  17. WCHAR szLastMachineName[MAX_PATH];
  18. BOOL bShowIndex;
  19. BOOL bWildCardInstances;
  20. BOOL bSelectAllInstances;
  21. BOOL bSelectAllCounters;
  22. BOOL bIncludeMachineInPath;
  23. BOOL bLocalCountersOnly;
  24. BOOL bSelectMultipleCounters;
  25. BOOL bAddMultipleCounters;
  26. BOOL bHideDetailLevel;
  27. BOOL bInitializePath;
  28. BOOL bDisableMachineSelection;
  29. BOOL bIncludeCostlyObjects;
  30. BOOL bShowObjects;
  31. WPARAM wpLastMachineSel;
  32. DWORD dwCurrentDetailLevel;
  33. } PDHI_BROWSE_DIALOG_DATA, *PPDHI_BROWSE_DIALOG_DATA;
  34. typedef struct _PDHI_DETAIL_INFO {
  35. DWORD dwLevelValue;
  36. DWORD dwStringResourceId;
  37. } PDHI_DETAIL_INFO, FAR * LPPDHI_DETAIL_INFO;
  38. INT_PTR
  39. CALLBACK
  40. BrowseCounterDlgProc (
  41. IN HWND hDlg,
  42. IN UINT message,
  43. IN WPARAM wParam,
  44. IN LPARAM lParam
  45. );
  46. #endif // _BROWSDLG_H_