Java Code Examples for com.sun.jna.Pointer#SIZE
The following examples show how to use
com.sun.jna.Pointer#SIZE .
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: BaseTSD.java From jpexs-decompiler with GNU General Public License v3.0 | 5 votes |
public void setValue(ULONG_PTR value) { if (Pointer.SIZE == 4) { getPointer().setInt(0, value.intValue()); } else { getPointer().setLong(0, value.longValue()); } }
Example 2
Source File: BaseTSD.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
public LONG_PTR(long value) { super(Pointer.SIZE, value); }
Example 3
Source File: BaseTSD.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
public ULONG_PTR(long value) { super(Pointer.SIZE, value, true); }
Example 4
Source File: BaseTSD.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
public ULONG_PTRByReference(ULONG_PTR value) { super(Pointer.SIZE); setValue(value); }
Example 5
Source File: BaseTSD.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
public ULONG_PTR getValue() { return new ULONG_PTR(Pointer.SIZE == 4 ? getPointer().getInt(0) : getPointer().getLong(0)); }
Example 6
Source File: BaseTSD.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
public DWORD_PTR(long value) { super(Pointer.SIZE, value); }
Example 7
Source File: WinDef.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
/** * Instantiates a new int ptr. */ public INT_PTR() { super(Pointer.SIZE); }
Example 8
Source File: WinNT.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
public HANDLEByReference(HANDLE h) { super(Pointer.SIZE); setValue(h); }
Example 9
Source File: WinDef.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
/** * Instantiates a new uint ptr. */ public UINT_PTR() { super(Pointer.SIZE); }
Example 10
Source File: W32API.java From consulo with Apache License 2.0 | 4 votes |
public HANDLEByReference(HANDLE h) { super(Pointer.SIZE); setValue(h); }
Example 11
Source File: WinReg.java From jpexs-decompiler with GNU General Public License v3.0 | 4 votes |
public HKEYByReference(HKEY h) { super(Pointer.SIZE); setValue(h); }
Example 12
Source File: WinDef.java From jpexs-decompiler with GNU General Public License v3.0 | 2 votes |
/** * Instantiates a new int ptr. * * @param value the value */ public INT_PTR(long value) { super(Pointer.SIZE, value); }
Example 13
Source File: WinDef.java From jpexs-decompiler with GNU General Public License v3.0 | 2 votes |
/** * Instantiates a new uint ptr. * * @param value the value */ public UINT_PTR(long value) { super(Pointer.SIZE, value, true); }
Example 14
Source File: W32API.java From consulo with Apache License 2.0 | votes |
public LONG_PTR(long value) { super(Pointer.SIZE, value); }
Example 15
Source File: W32API.java From consulo with Apache License 2.0 | votes |
public ULONG_PTR(long value) { super(Pointer.SIZE, value); }
Example 16
Source File: W32API.java From consulo with Apache License 2.0 | votes |
public UINT_PTR() { super(Pointer.SIZE); }
Example 17
Source File: W32API.java From consulo with Apache License 2.0 | votes |
public UINT_PTR(long value) { super(Pointer.SIZE, value); }