Skybound.Gecko.LauncherDialogFactory.nsIFactory C# (CSharp) Method

nsIFactory() private method

private nsIFactory ( nsISupports aOuter, System.Guid &iid ) : IntPtr
aOuter nsISupports
iid System.Guid
return System.IntPtr
        IntPtr nsIFactory.CreateInstance(nsISupports aOuter, ref Guid iid)
        {
            IntPtr result = IntPtr.Zero;
            IntPtr iUnknownForObject = Marshal.GetIUnknownForObject(new LauncherDialog());
            Marshal.QueryInterface(iUnknownForObject, ref iid, out result);
            Marshal.Release(iUnknownForObject);
            return result;
        }

Same methods

LauncherDialogFactory::nsIFactory ( bool @lock ) : void
LauncherDialogFactory