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

IBindCtx

public static void PopulateVTable(Vtbl* vtable)

public uint AddRef()

Retrieves a pointer to an interface that can be used to enumerate the keys of the bind context's string-keyed table of pointers.

public HRESULT GetBindOptions(BIND_OPTS* pbindopts)

Retrieves the binding options stored in this bind context.

public HRESULT GetObjectParam(PWSTR pszKey, IUnknown** ppunk)

Retrieves an interface pointer to the object associated with the specified key in the bind context's string-keyed table of pointers.

Retrieves an interface pointer to the running object table (ROT) for the computer on which this bind context is running.

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

Registers an object with the bind context to ensure that the object remains active until the bind context is released.

Associates an object with a string key in the bind context's string-keyed table of pointers.

public uint Release()

Releases all pointers to all objects that were previously registered by calls to RegisterObjectBound.

Removes the object from the bind context, undoing a previous call to RegisterObjectBound.

Removes the specified key and its associated pointer from the bind context's string-keyed table of objects. The key must have previously been inserted into the table with a call to RegisterObjectParam.

public HRESULT SetBindOptions(BIND_OPTS* pbindopts)

Sets new values for the binding parameters stored in the bind context.