⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sharedstubs.java

📁 用于Java 组件和通过Windows COM 对象或Windows DLL 来公开的组件之间的互操作
💻 JAVA
字号:
//******************************************************************
// Released under the DevelopMentor OpenSource Software License.
// Please consult the LICENSE file in the project root directory,
// or at http://www.develop.com for details before using this
// software.
//******************************************************************

package com.develop.jawin.marshal;

import com.develop.util.*;
import java.io.*;

public class SharedStubs {
  static {
    com.develop.jawin.Bootstrap.init();
  }

  /**
     Guide to codes:
     
     I int
     G string
     O out arg sizeof(int)
     P array 
     S sized out/retval
     
 */
  public static native int invokeIGGI_I(int arg1, String arg2, String arg3, int arg4, int func, int flags);

  public static native int invokeIIII_I(int arg0, int arg1, int arg2, int arg3, int func, int flags);
  public static native int invokeII_I(int arg0, int arg1, int func, int flags);
  public static native int invokeI_I(int arg0, int func, int flags);
  public static native int invoke_I(int func, int flags);

  public static native int invokeG_I(String arg0, int peer, int flags);
  public static native int invokeGG_I(String arg0, String arg1, int peer, int flags);
	        
  //pointer [in] args, int return 
  public static native int invokeP_I(byte[] arg0, int func, int flags);

  //int args with an [out] int
  public static native int invokeIIIIO(int arg0, int arg1, int arg2, int arg3, int func, int flags);
  public static native int invokeIO(int arg0, int peer, int flags);
  public static native int invokeIGO(int arg0, String arg2, int peer, int flags);

  //mixed args
  public static native byte[] invokeIG_I(int arg0, String arg1, int peer, int flags);
  public static native byte[] invokeI_S(int arg0, int returnSize, int func, int flags);
  public static native byte[] invokeP_S(byte[] arg0, int returnSize, int func, int flags);
  public static native byte[] invokePI_S(byte[] arg0, int arg2, int returnSize, int func, int flags);
    
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -