BurnData.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. // BurnData.cs
  2. //
  3. // by Eric Haddan
  4. //
  5. namespace IMAPI2.Interop
  6. {
  7. public enum BURN_MEDIA_TASK
  8. {
  9. BURN_MEDIA_TASK_FILE_SYSTEM,
  10. BURN_MEDIA_TASK_WRITING
  11. }
  12. public class BurnData
  13. {
  14. public string uniqueRecorderId;
  15. public string statusMessage;
  16. public BURN_MEDIA_TASK task;
  17. // IDiscFormat2DataEventArgs Interface
  18. public long elapsedTime; // Elapsed time in seconds
  19. public long remainingTime; // Remaining time in seconds
  20. public long totalTime; // total estimated time in seconds
  21. // IWriteEngine2EventArgs Interface
  22. public IMAPI_FORMAT2_DATA_WRITE_ACTION currentAction;
  23. public long startLba; // the starting lba of the current operation
  24. public long sectorCount; // the total sectors to write in the current operation
  25. public long lastReadLba; // the last read lba address
  26. public long lastWrittenLba; // the last written lba address
  27. public long totalSystemBuffer; // total size of the system buffer
  28. public long usedSystemBuffer; // size of used system buffer
  29. public long freeSystemBuffer; // size of the free system buffer
  30. }
  31. }