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

IAdviseSink

public static void PopulateVTable(Vtbl* vtable)

public uint AddRef()

public void OnClose()

Called by the server to notify all registered advisory sinks that the object has changed from the running to the loaded state.

public void OnDataChange(FORMATETC* pFormatetc, STGMEDIUM* pStgmed)

Called by the server to notify a data object's currently registered advise sinks that data in the object has changed.

public void OnRename(IMoniker* pmk)

Called by the server to notify all registered advisory sinks that the object has been renamed.

public void OnSave()

Called by the server to notify all registered advisory sinks that the object has been saved.

public void OnViewChange(uint dwAspect, int lindex)

Notifies an object's registered advise sinks that its view has changed.

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

public uint Release()