/// <summary> /// Initializes a new instance of the <see cref="BroadcastDeviceInterface"/> class. /// NOTE: Both these constructors are required, this is called from the factory, the most complex constructor is used from the factory, it will inject in the guid. /// </summary> /// <param name="guid"> /// The guid of the device. /// </param> public BroadcastDeviceInterface(Guid guid) { _broadCastHdr = new BroadcastHdr(Marshal.SizeOf(typeof(BroadcastDeviceInterface)), DeviceManagement.UnsafeNative.UnsafeNativeMethods.DbtDevtypeDeviceInterface); _guid = guid; }