com.mindoo.domino.jna.internal.structs.ConsoleEntry32 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
package com.mindoo.domino.jna.internal.structs;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class ConsoleEntry32 extends Structure {
/** C type : QUEUE_ENTRY_HEADER */
public QueueEntryHeader32 hdr;
/** What type of data is this? */
public short Type;
public short Signals;
public int ConsoleBufferID;
/** length of the data */
public int Length;
public ConsoleEntry32() {
super();
}
protected List getFieldOrder() {
return Arrays.asList("hdr", "Type", "Signals", "ConsoleBufferID", "Length");
}
/**
* @param hdr C type : QUEUE_ENTRY_HEADER
* @param Type What type of data is this?
* @param Length length of the data
*/
public ConsoleEntry32(QueueEntryHeader32 hdr, short Type, short Signals, int ConsoleBufferID, int Length) {
super();
this.hdr = hdr;
this.Type = Type;
this.Signals = Signals;
this.ConsoleBufferID = ConsoleBufferID;
this.Length = Length;
}
public ConsoleEntry32(Pointer peer) {
super(peer);
}
public static ConsoleEntry32 newInstance(Pointer p) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public ConsoleEntry32 run() {
return new ConsoleEntry32(p);
}
});
}
public static class ByReference extends ConsoleEntry32 implements Structure.ByReference {
};
public static class ByValue extends ConsoleEntry32 implements Structure.ByValue {
};
}