public static ComObject <T> ActivateObject <T>(this ComObject <IMFActivate> obj, Guid riid) => ActivateObject <T>(obj?.Object, riid);
public static DXGI_OUTDUPL_DESC GetDesc(this ComObject <IDXGIOutputDuplication> output) => GetDesc(output?.Object);
public static ComObject <T> ActivateObject <T>(this ComObject <IMFActivate> obj) => ActivateObject <T>(obj?.Object, typeof(T).GUID);