org.blackdread.camerabinding.jna.EdsCapacity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camera-binding Show documentation
Show all versions of camera-binding Show documentation
Bindings of C header files in java of EDSDK
package org.blackdread.camerabinding.jna;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : sdk-header\EDSDKTypes.h
* 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 EdsCapacity extends Structure {
/** C type : EdsInt32 */
public NativeLong numberOfFreeClusters;
/** C type : EdsInt32 */
public NativeLong bytesPerSector;
/** C type : EdsBool */
public int reset;
public EdsCapacity() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("numberOfFreeClusters", "bytesPerSector", "reset");
}
/**
* @param numberOfFreeClusters C type : EdsInt32
* @param bytesPerSector C type : EdsInt32
* @param reset C type : EdsBool
*/
public EdsCapacity(NativeLong numberOfFreeClusters, NativeLong bytesPerSector, int reset) {
super();
this.numberOfFreeClusters = numberOfFreeClusters;
this.bytesPerSector = bytesPerSector;
this.reset = reset;
}
public EdsCapacity(Pointer peer) {
super(peer);
}
public static class ByReference extends EdsCapacity implements Structure.ByReference {
}
public static class ByValue extends EdsCapacity implements Structure.ByValue {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy