regdata.java

来自「jnative java 调用动态库需要的包和dll」· Java 代码 · 共 36 行

JAVA
36
字号
package org.xvolks.jnative.misc.registry;

import org.xvolks.jnative.exceptions.NativeException;
import org.xvolks.jnative.misc.basicStructures.LONG;

/**
 * $Id: RegData.java,v 1.1 2006/06/05 21:22:02 mdenty Exp $
 * 
 * This software is released under the LGPL.
 * 
 * @author Created by Marc DENTY - (c) 2006 JNative project
 */
public class RegData extends BasicRegData {
	/**
	 * A pointer to a variable that receives a code indicating the type of data
	 * stored in the specified value. For a list of the possible type codes, see
	 * Registry Value Types. The lpType parameter can be NULL if the type code
	 * is not required.
	 */
	private LONG lpType;

	public RegData(int lDataSize) throws NativeException {
		super(lDataSize);
		lpType = new LONG(0);
	}

	public LONG getLpType() {
		return lpType;
	}

	@Override
	public String toString() {
		return super.toString() + "Type : " + lpType.getValue() + "\n";
	}
}

⌨️ 快捷键说明

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