IGlobalInterfaceTable (Interfaces)
Last changed: e.semog+pinvoke at gmail.com-207.141.0.26

.
Summary
Access the Global Running Object Table.

C# Definition:

    [
        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 */
    {
    }

VB Definition:

<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IGlobalInterfaceTable
   TODO
End Interface

User-Defined Types:

None.

Notes:

Create a new StdGlobalInterfaceTable object and cast it to the IGlobalInterfaceTable interface.

Documentation