GlobalInterfaceTable
Wrapper for the COM global interface table.
Creates a new instance of an IIUnknownStrategy for StrategyBasedComWrappers
that uses the Global Interface Table.
public static ComScope<TInterface> GetInterface<TInterface>(uint cookie, out HRESULT result) where TInterface : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID
Gets an agile interface for the cookie that was given back by
RegisterInterface<T>
public static uint RegisterInterface<TInterface>(TInterface* interface) where TInterface : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID
Registers the given interface in the global interface table. This decrements the
ref count so that the entry in the table will "own" the interface (as it increments the ref count).
Revokes the interface registered with RegisterInterface<T>.
This will decrement the ref count for the interface.