From c7a9d4a6bd53ed7d61731770f2f10e8b9fd435f9 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 12 Feb 2026 22:33:32 -0800 Subject: Initial commit --- NET/worlds/console/IDispatch.java | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 NET/worlds/console/IDispatch.java (limited to 'NET/worlds/console/IDispatch.java') diff --git a/NET/worlds/console/IDispatch.java b/NET/worlds/console/IDispatch.java new file mode 100644 index 0000000..858576b --- /dev/null +++ b/NET/worlds/console/IDispatch.java @@ -0,0 +1,42 @@ +package NET.worlds.console; + +import java.io.IOException; + +public class IDispatch extends IUnknown { + private static final String IID_IDispatch = "{00020400-0000-0000-C000-000000000046}"; + + public IDispatch(String svrID) throws IOException { + try { + this.init(svrID, "{00020400-0000-0000-C000-000000000046}"); + } catch (IOException var16) { + IUnknown tmpUnk = new IUnknown(svrID); + + try { + this.init(tmpUnk, "{00020400-0000-0000-C000-000000000046}"); + } catch (OLEInvalidObjectException var14) { + System.out.println("DEBUG: " + this); + + assert false; + } finally { + try { + tmpUnk.Release(); + } catch (OLEInvalidObjectException var13) { + System.out.println("DEBUG: " + this); + + assert false; + } + } + } + } + + public IDispatch(IUnknown pIUnknown) throws IOException, OLEInvalidObjectException { + super(pIUnknown, "{00020400-0000-0000-C000-000000000046}"); + } + + public native void Invoke(String var1); + + @Override + public String toString() { + return "IDispatch(" + this.internalData() + ")"; + } +} -- cgit v1.2.3