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

org.bytedeco.systems.windows.FILE_SEGMENT_ELEMENT Maven / Gradle / Ivy

There is a newer version: 1.5.10
Show newest version
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE

package org.bytedeco.systems.windows;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.presets.javacpp.*;

import static org.bytedeco.systems.global.windows.*;



//
// Define segement buffer structure for scatter/gather read/write.
//

@Properties(inherit = org.bytedeco.systems.presets.windows.class)
public class FILE_SEGMENT_ELEMENT extends Pointer {
    static { Loader.load(); }
    /** Default native constructor. */
    public FILE_SEGMENT_ELEMENT() { super((Pointer)null); allocate(); }
    /** Native array allocator. Access with {@link Pointer#position(long)}. */
    public FILE_SEGMENT_ELEMENT(long size) { super((Pointer)null); allocateArray(size); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public FILE_SEGMENT_ELEMENT(Pointer p) { super(p); }
    private native void allocate();
    private native void allocateArray(long size);
    @Override public FILE_SEGMENT_ELEMENT position(long position) {
        return (FILE_SEGMENT_ELEMENT)super.position(position);
    }
    @Override public FILE_SEGMENT_ELEMENT getPointer(long i) {
        return new FILE_SEGMENT_ELEMENT(this).position(position + i);
    }

    public native @Cast("PVOID64") Pointer Buffer(); public native FILE_SEGMENT_ELEMENT Buffer(Pointer setter);
    public native @Cast("ULONGLONG") long Alignment(); public native FILE_SEGMENT_ELEMENT Alignment(long setter);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy