<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.6.25358.103" />

IDispatch

public interface Interface

public uint AddRef()

public HRESULT GetIDsOfNames(Guid* riid, PWSTR* rgszNames, uint cNames, uint lcid, Int32* rgDispId)

Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to Invoke.

public HRESULT GetTypeInfo(uint iTInfo, uint lcid, ITypeInfo** ppTInfo)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

public HRESULT Invoke(int dispIdMember, Guid* riid, uint lcid, DISPATCH_FLAGS wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UInt32* puArgErr)

Provides access to properties and methods exposed by an object.

public HRESULT QueryInterface(Guid* riid, Void** ppvObject)

public uint Release()

public HRESULT SetPropertyValue(int dispatchId, VARIANT value, out string errorText)