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.

46 lines
1.4 KiB

  1. /********************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. perfdata.h
  5. Abstract:
  6. FTS performance data defines
  7. Revision History:
  8. DerekM created 04/01/00
  9. ********************************************************************/
  10. #ifndef PERFDATA_H
  11. #define PERFDATA_H
  12. #include <tchar.h>
  13. // structure to map the memory blob to. There should be one item per
  14. // PERF_COUNTER_DEFINITION in datadefs.h. Also, the ordering of the
  15. // PERF_COUNTER_DEFINITIONs in datadefs.h MUST match the ordering of
  16. // the corresponding data item below.
  17. struct SPerfDataBlob
  18. {
  19. DWORD cFiles;
  20. DWORD cFilesR0;
  21. DWORD cFilesR3;
  22. };
  23. // exported methods out of the dll that we'll need to use from the app
  24. extern "C" HRESULT APIENTRY AppInitPerfCtr(SPerfDataBlob **ppPtrs, DWORD cbExpected);
  25. extern "C" HRESULT APIENTRY AppTerminatePerfCtr(void);
  26. // reg stuff
  27. const TCHAR c_szRVPerfLib[] = _T("Library");
  28. const TCHAR c_szRVPerfLibVal[] = _T("ftsperf.dll");
  29. const TCHAR c_szRVPerfClose[] = _T("Close");
  30. const TCHAR c_szRVperfCloseVal[] = _T("PerfClose");
  31. const TCHAR c_szRVPerfOpen[] = _T("Open");
  32. const TCHAR c_szRVPerfOpenVal[] = _T("PerfOpen");
  33. const TCHAR c_szRVPerfCollect[] = _T("Collect");
  34. const TCHAR c_szRVPerfCollectVal[] = _T("PerfCollect");
  35. #endif