marshalconstants.java

来自「用于Java 组件和通过Windows COM 对象或Windows DLL 来」· Java 代码 · 共 23 行

JAVA
23
字号
//******************************************************************
// 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;

public interface MarshalConstants {

    public static final int CHECK_NONE = 0;
	//throw exception based on GetLastError if ret == null
    public static final int CHECK_NULL = 1;
	//throw exception based on HR if FAILED(hr)
    public static final int CHECK_HR = 2;
	//throw exception based on return value if not ERROR_SUCCESS
	public static final int CHECK_W32 = 3;	

  public static final byte MARSHAL_VPTR = 0;
  public static final byte MARSHAL_GIT = 1;
}

⌨️ 快捷键说明

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