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.

43 lines
820 B

  1. // adapter.h
  2. //
  3. // Copyright 2000 Microsoft Corporation, all rights reserved
  4. //
  5. // Created 2-00 anbrad
  6. //
  7. class CAdapter
  8. {
  9. public:
  10. CAdapter() :
  11. m_hBlob (NULL),
  12. m_pRtc(NULL),
  13. m_dwLinkSpeed(0),
  14. m_dwFrames (0),
  15. m_qBytes (0),
  16. m_dwHeaderOffset (0),
  17. m_dwLastTimeStamp(0),
  18. m_bps(0),
  19. RawTimeDelta(0),
  20. m_qLastBitsCount(0)
  21. {
  22. m_szCaptureFile[0] = '\0';
  23. }
  24. // We keep all our totals here
  25. HBLOB m_hBlob;
  26. IDelaydC* m_pRtc;
  27. BYTE MacAddress[6];
  28. DWORD m_dwLinkSpeed; //... Link speed in Mbits.
  29. DWORD m_dwFrames;
  30. __int64 m_qBytes;
  31. TCHAR m_szCaptureFile[MAX_PATH];
  32. DWORD m_dwHeaderOffset;
  33. hyper m_dwLastTimeStamp;
  34. DWORD m_bps;
  35. hyper RawTimeDelta;
  36. hyper m_qLastBitsCount;
  37. };