All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mindoo.domino.jna.internal.structs.compoundtext.NotesCDEmbeddedCtlStruct Maven / Gradle / Ivy

There is a newer version: 0.9.53
Show newest version
package com.mindoo.domino.jna.internal.structs.compoundtext;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;

import com.mindoo.domino.jna.IAdaptable;
import com.mindoo.domino.jna.internal.structs.BaseStructure;
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 NotesCDEmbeddedCtlStruct extends BaseStructure implements IAdaptable { // C type : WSIG */ public short Signature; /* ORed with WORDRECORDLENGTH */ public short Length; /* (length is inclusive with this struct) */ public int CtlStyle; public short Flags; public short Width; public short Height; public short Version; public short CtlType; public short MaxChars; public short MaxLines; public short Percentage; /** C type : DWORD[3] */ public int[] Spare = new int[3]; public NotesCDEmbeddedCtlStruct() { super(); } public static NotesCDEmbeddedCtlStruct newInstance() { return AccessController.doPrivileged(new PrivilegedAction() { @Override public NotesCDEmbeddedCtlStruct run() { return new NotesCDEmbeddedCtlStruct(); } }); } protected List getFieldOrder() { return Arrays.asList("Signature", "Length", "CtlStyle", "Flags", "Width", "Height", "Version", "CtlType", "MaxChars", "MaxLines", "Percentage", "Spare"); } public NotesCDEmbeddedCtlStruct(Pointer peer) { super(peer); } public static NotesCDEmbeddedCtlStruct newInstance(final Pointer peer) { return AccessController.doPrivileged(new PrivilegedAction() { @Override public NotesCDEmbeddedCtlStruct run() { return new NotesCDEmbeddedCtlStruct(peer); } }); } public static class ByReference extends NotesCDEmbeddedCtlStruct implements Structure.ByReference { }; public static class ByValue extends NotesCDEmbeddedCtlStruct implements Structure.ByValue { }; @Override public T getAdapter(Class clazz) { if (clazz == NotesCDEmbeddedCtlStruct.class) { return (T) this; } return null; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy