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.

52 lines
1.4 KiB

  1. //***************************************************************************
  2. //
  3. // Title : CCData.h
  4. //
  5. // Date : 1998.03.26 1st making
  6. //
  7. // Author : Toshiba [NPC](NP2) Hiroyuki Oka
  8. //
  9. // Copyright 1998 Toshiba Corporation. All Rights Reserved.
  10. //
  11. // -------------------------------------------------------------------------
  12. //
  13. // Change Log :
  14. //
  15. // Date Revision Description
  16. // ------------ ---------- -----------------------------------------------
  17. //
  18. //***************************************************************************
  19. // $Header: /DVD Drivers/Sources/ZiVAHAL/userdata.h 1 98/04/20 7:30p Hero $
  20. // $Modtime: 98/03/30 7:13p $
  21. // $Nokeywords: $
  22. //***************************************************************************
  23. #ifndef _CCDATA_H_
  24. #define _CCDATA_H_
  25. // 1GOP����line21�f�[�^�̈��̊m��(header + 36field * data_size + alpha)
  26. // data_size�ɉ����ăf�[�^�̈����m�ۂ����ق�����������
  27. #define USER_DATA_SIZE (5+36*3+10)
  28. // �N���[�Y�h�L���v�V�����p�����O�o�b�t�@�̃T�C�Y(DWORD)
  29. #define CC_DATA_SIZE 90
  30. class CUserData
  31. {
  32. public:
  33. CUserData(void);
  34. ~CUserData(void);
  35. BOOL Init();
  36. BOOL Set(DWORD data);
  37. BYTE Get(DWORD number);
  38. BOOL DataCopy(PVOID pDestPoint, DWORD dwSize);
  39. DWORD GetDataSize();
  40. private:
  41. BYTE data[USER_DATA_SIZE];
  42. DWORD m_DataSize;
  43. DWORD m_DataPoint;
  44. //friend CMPEGBoardHAL;
  45. };
  46. #endif // _CCDATA_H_