UVCCtrlInfo.cs 537 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace Serenegiant.UVC
  4. {
  5. [StructLayout(LayoutKind.Sequential, Pack = 4)]
  6. public struct UVCCtrlInfo
  7. {
  8. public UInt64 type;
  9. public Int32 initialized;
  10. public Int32 hasMinMax;
  11. public Int32 def;
  12. public Int32 current;
  13. public Int32 res;
  14. public Int32 min;
  15. public Int32 max;
  16. public override string ToString()
  17. {
  18. return $"{base.ToString()}(type={type},min={min},max={max},def={def},current={current})";
  19. }
  20. }
  21. }