public static Guid GetGuid(this IMFAttributes obj, Guid key, Guid defaultValue) { if (obj == null) { throw new ArgumentNullException(nameof(obj)); } if (obj.GetGUID(key, out var value).IsError) { return(defaultValue); } return(value); }
public HResult GetGUID(Guid guidKey, out Guid pguidValue) { return(m_Attribs.GetGUID(guidKey, out pguidValue)); }