[
ComImport(),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
Guid("00000146-0000-0000-C000-000000000046")
]
interface IGlobalInterfaceTable
{
int RegisterInterfaceInGlobal(
[MarshalAs(UnmanagedType.IUnknown)] object pUnk,
[In()] ref Guid riid);
void RevokeInterfaceFromGlobal(int dwCookie);
[return: MarshalAs(UnmanagedType.IUnknown)]
object GetInterfaceFromGlobal(int dwCookie, [In()] ref Guid riid);
}
[
ComImport(),
Guid("00000323-0000-0000-C000-000000000046")
]
class StdGlobalInterfaceTable /* : IGlobalInterfaceTable */
{
}
<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IGlobalInterfaceTable
TODO
End Interface
None.
Create a new StdGlobalInterfaceTable object and cast it to the IGlobalInterfaceTable interface.