DiscMaster.h 813 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /************************************************************************/
  2. /* Copyright (C), 2016-2020, [Jeff], 保留所有权利;
  3. /* 模 块 名:;
  4. /* 描 述:;
  5. /*
  6. /* 版 本:[V];
  7. /* 作 者:[Jeff];
  8. /* 日 期:[3/20/2018];
  9. /*
  10. /*
  11. /* 注 意:;
  12. /*
  13. /* 修改记录:[Jeff];
  14. /* 修改日期:;
  15. /* 修改版本:;
  16. /* 修改内容:;
  17. /************************************************************************/
  18. #ifndef __DISC_MASTER__
  19. #define __DISC_MASTER__
  20. #pragma once
  21. class CDiscMaster
  22. {
  23. IDiscMaster2 *m_pDiscMaster;
  24. HRESULT m_hResult;
  25. CString m_strErrorMsg;
  26. public:
  27. CDiscMaster(void);
  28. ~CDiscMaster(void);
  29. inline HRESULT GetHResult() {return m_hResult;}
  30. inline CString GetErrorMsg() {return m_strErrorMsg;}
  31. bool Initialize();
  32. long GetTotalDevices();
  33. CString GetDeviceUniqueID(long nIndex);
  34. };
  35. #endif