summaryrefslogtreecommitdiff
path: root/NET/worlds/console/IDispatch.java
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-12 22:33:32 -0800
committerFuwn <[email protected]>2026-02-12 22:33:32 -0800
commitc7a9d4a6bd53ed7d61731770f2f10e8b9fd435f9 (patch)
treedf9f48bf128a6c0186a8e91857d6ff30fe0e9f18 /NET/worlds/console/IDispatch.java
downloadworldsplayer-c7a9d4a6bd53ed7d61731770f2f10e8b9fd435f9.tar.xz
worldsplayer-c7a9d4a6bd53ed7d61731770f2f10e8b9fd435f9.zip
Initial commit
Diffstat (limited to 'NET/worlds/console/IDispatch.java')
-rw-r--r--NET/worlds/console/IDispatch.java42
1 files changed, 42 insertions, 0 deletions
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() + ")";
+ }
+}