<PackageReference Include="System.Drawing.Common" Version="11.0.0-rc.1.26425.128" />

Windows.Win32.System.Com.IDispatch

public interface Interface

public uint AddRef()

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

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)