[]
IWICComponentInfo
[Guid("23BC3F0A-698B-4357-886B-F24D50671334")]
public class ComponentInfo : ComObject, IDisposable, IUnknown
Initializes a new instance of the ComponentInfo class.
public ComponentInfo(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Gets the author.
public string Author { get; }
Gets the friendly name.
public string FriendlyName { get; }
Gets the spec version.
public string SpecVersion { get; }
Gets the version.
public string Version { get; }
Initializes a new instance of the ComponentInfo class.
public static ComponentInfo Create(ImagingFactory factory, Guid clsidComponent)
factory
ImagingFactoryThe factory.
clsidComponent
System.GuidThe CLSID component.
HRESULT IWICComponentInfo::GetAuthor([In] unsigned int cchAuthor,[In] void* wzAuthor,[Out] unsigned int* pcchActual)
public int GetAuthor(int cchAuthor, IntPtr author)
cchAuthor
intauthor
System.IntPtrHRESULT IWICComponentInfo::GetCLSID([Out] GUID* pclsid)
public Guid GetCLSID()
HRESULT IWICComponentInfo::GetComponentType([Out] WICComponentType* pType)
public ComponentType GetComponentType()
HRESULT IWICComponentInfo::GetFriendlyName([In] unsigned int cchFriendlyName,[In] void* wzFriendlyName,[Out] unsigned int* pcchActual)
public int GetFriendlyName(int cchFriendlyName, IntPtr friendlyName)
cchFriendlyName
intfriendlyName
System.IntPtrHRESULT IWICComponentInfo::GetSigningStatus([Out] unsigned int* pStatus)
public int GetSigningStatus()
HRESULT IWICComponentInfo::GetSpecVersion([In] unsigned int cchSpecVersion,[In] void* wzSpecVersion,[Out] unsigned int* pcchActual)
public int GetSpecVersion(int cchSpecVersion, IntPtr specVersion)
cchSpecVersion
intspecVersion
System.IntPtrHRESULT IWICComponentInfo::GetVendorGUID([Out] GUID* pguidVendor)
public Guid GetVendorGUID()
HRESULT IWICComponentInfo::GetVersion([In] unsigned int cchVersion,[In] void* wzVersion,[Out] unsigned int* pcchActual)
public int GetVersion(int cchVersion, IntPtr version)
cchVersion
intversion
System.IntPtrPerforms an explicit conversion from System.IntPtr to ComponentInfo.
public static explicit operator ComponentInfo(IntPtr nativePointer)
nativePointer
System.IntPtr