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
1.1 KiB

  1. #ifndef __ISDMCAPI_H__
  2. #define __ISDMCAPI_H__
  3. #include "isdmapi.h"
  4. #ifdef __cplusplus
  5. extern "C" { // Assume C declarations for C++.
  6. #endif // __cplusplus
  7. #ifndef DllExport
  8. #define DllExport __declspec( dllexport )
  9. #endif // DllExport
  10. typedef struct SESSIONTIMESTRUCT
  11. {
  12. HSTATSESSION hSession;
  13. DWORD dwActivityTime;
  14. DWORD dwActivityPrevTime;
  15. DWORD dwActivityValue;
  16. DWORD dwActivityPrevValue;
  17. DWORD dwLatencyValue;
  18. DWORD dwLossValue;
  19. } SESSTIME, *LPSESSTIME;
  20. typedef struct ISDMCODECSTRUCT
  21. {
  22. WORD wSendQuality;
  23. WORD wRecvQuality;
  24. } ISDM_CODEC_INFO,*LPISDM_CODEC_INFO;
  25. typedef struct ISDMCALCITEMSTRUCT
  26. {
  27. DWORD dwValue;
  28. DWORD dwMin;
  29. DWORD dwMax;
  30. DWORD dwThreshold;
  31. } ISDM_CALC_ITEM,*LPISDM_CALC_ITEM;
  32. typedef struct ISDMCALCINFOSTRUCT
  33. {
  34. ISDM_CODEC_INFO CodecInfo;
  35. ISDM_CALC_ITEM Loss;
  36. ISDM_CALC_ITEM Latency;
  37. ISDM_CALC_ITEM Activity;
  38. } ISDM_CALC_INFO, *LPISDM_CALC_INFO;
  39. extern DllExport BOOL GetCPUUsage(DWORD *pCpuUsage);
  40. extern DllExport BOOL GetRRCMStatItems(LPISDM_CALC_INFO pCalcInfo, LPSESSTIME *pSess);
  41. #ifdef __cplusplus
  42. }
  43. #endif // __cplusplus
  44. #endif