Can I simplify method signatures I am not using in a ComImport?
问题 I am trying to call GetImageDlg on IWiaDevMgr2 . There are a number of quite complicated methods (which I am not using) referencing a number of types (that I am also not using). As I cannot find a TLB or an IDL from which to automatically generate my ComImport , I would prefer to avoid having to manually translate all of the referenced types. Can I "skip" methods and types by substituting from [InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("79C07CF1-CBDD-41ee-8EC3-F00080CADA7A")]