com.sun.jna.PointerType Java Examples

The following examples show how to use com.sun.jna.PointerType. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LibraryUtil.java    From canon-sdk-java with MIT License 5 votes vote down vote up
private List<String> getConstantInterfaceNames() {
    final Class<?>[] classes = EdsdkLibrary.class.getClasses();

    if (classes.length == 0)
        throw new IllegalStateException("");

    return Arrays.stream(classes)
        .filter(aClass -> !Structure.class.isAssignableFrom(aClass))
        .filter(aClass -> !PointerType.class.isAssignableFrom(aClass))
        .filter(aClass -> !Structure.ByReference.class.isAssignableFrom(aClass))
        .filter(aClass -> !StdCallLibrary.StdCallCallback.class.isAssignableFrom(aClass))
        .map(Class::getSimpleName)
        .collect(Collectors.toList());
}
 
Example #2
Source File: NSMutableArray.java    From cyberduck with GNU General Public License v3.0 votes vote down vote up
public abstract void addObject(PointerType pointerType); 
Example #3
Source File: FoundationKitFunctions.java    From cyberduck with GNU General Public License v3.0 votes vote down vote up
void CFRelease(PointerType ref); 
Example #4
Source File: WindowsJNAAffinity.java    From Java-Thread-Affinity with Apache License 2.0 votes vote down vote up
int GetProcessAffinityMask(final int pid, final PointerType lpProcessAffinityMask, final PointerType lpSystemAffinityMask) throws LastErrorException;