public void NSFItemQueryEx( long note_handle, NotesBlockIdStruct.ByValue item_bid, Memory item_name, short return_buf_len, ShortByReference name_len_ptr, ShortByReference item_flags_ptr, ShortByReference value_datatype_ptr, NotesBlockIdStruct value_bid_ptr, IntByReference value_len_ptr, ByteByReference retSeqByte, ByteByReference retDupItemID);
public native void NSFItemQueryEx( int note_handle, NotesBlockIdStruct.ByValue item_bid, Memory item_name, short return_buf_len, ShortByReference name_len_ptr, ShortByReference item_flags_ptr, ShortByReference value_datatype_ptr, NotesBlockIdStruct value_bid_ptr, IntByReference value_len_ptr, ByteByReference retSeqByte, ByteByReference retDupItemID);
public void NSFItemQueryEx( int note_handle, NotesBlockIdStruct.ByValue item_bid, Memory item_name, short return_buf_len, ShortByReference name_len_ptr, ShortByReference item_flags_ptr, ShortByReference value_datatype_ptr, NotesBlockIdStruct value_bid_ptr, IntByReference value_len_ptr, ByteByReference retSeqByte, ByteByReference retDupItemID);
public native void NSFItemQueryEx( long note_handle, NotesBlockIdStruct.ByValue item_bid, Memory item_name, short return_buf_len, ShortByReference name_len_ptr, ShortByReference item_flags_ptr, ShortByReference value_datatype_ptr, NotesBlockIdStruct value_bid_ptr, IntByReference value_len_ptr, ByteByReference retSeqByte, ByteByReference retDupItemID);
public Image(int x0, int y0, int x1, int y1, int numcomps, int color_space, ImageComponent.ByReference comps, ByteByReference icc_profile_buf, int icc_profile_len) { super(); this.x0 = x0; this.y0 = y0; this.x1 = x1; this.y1 = y1; this.numcomps = numcomps; this.color_space = color_space; this.comps = comps; this.icc_profile_buf = icc_profile_buf; this.icc_profile_len = icc_profile_len; }
public GlobalByte(NativeLibrary library, String... symbols) { super(library, ByteByReference.class, symbols); }
/** * Get the current value of the latency timer. * @return latency timer value. * @throws FTD2XXException If something goes wrong. */ public short getLatencyTimer() throws FTD2XXException { ByteByReference byReference = new ByteByReference(); ensureFTStatus(ftd2xx.FT_GetLatencyTimer(ftHandle, byReference)); return (short) ((short) byReference.getValue() & 0xFF); }
/** * Gets the instantaneous value of the data bus. * @return instantaneous data bus value * @throws FTD2XXException If something goes wrong. */ public BitModes getBitMode() throws FTD2XXException { ByteByReference byt = new ByteByReference(); ensureFTStatus(ftd2xx.FT_GetBitmode(ftHandle, byt)); return BitModes.parse(byt.getValue()); }
/** * Creates a new {@link CFNumberRef} instance with the value from * {@code value}. * * @param value the value of the new {@link CFNumberRef} instance. * @return The new instance. */ public static CFNumberRef toCFNumberRef(byte value) { return INSTANCE.CFNumberCreate(ALLOCATOR, CFNumberType.kCFNumberSInt8Type, new ByteByReference(value)); }
/** * The GetLayeredWindowAttributes function retrieves the opacity and * transparency color key of a layered window. * * @param hwnd Handle to the layered window. A layered window is created by * specifying WS_EX_LAYERED when creating the window with the CreateWindowEx * function or by setting WS_EX_LAYERED via SetWindowLong after the window * has been created. * @param pcrKey Pointer to a COLORREF value that receives the transparency * color key to be used when composing the layered window. All pixels * painted by the window in this color will be transparent. This can be NULL * if the argument is not needed. * @param pbAlpha Pointer to a BYTE that receives the Alpha value used to * describe the opacity of the layered window. Similar to the * SourceConstantAlpha member of the BLENDFUNCTION structure. When the * variable referred to by pbAlpha is 0, the window is completely * transparent. When the variable referred to by pbAlpha is 255, the window * is opaque. This can be NULL if the argument is not needed. * @param pdwFlags Pointer to a DWORD that receives a layering flag. This * can be NULL if the argument is not needed. * @return If the function succeeds, the return value is nonzero. If the * function fails, the return value is zero. To get extended error * information, call GetLastError. */ boolean GetLayeredWindowAttributes(HWND hwnd, IntByReference pcrKey, ByteByReference pbAlpha, IntByReference pdwFlags);
/** * Get the current value of the latency timer. * @param ftHandle Handle of the device. * @param pucTimer Pointer to unsigned char to store latency timer value. * @return FT_STATUS: FT_OK if successful, otherwise the return value is an * FT error code. */ int FT_GetLatencyTimer(int ftHandle, ByteByReference pucTimer);
/** * Gets the instantaneous value of the data bus. * @param ftHandle Handle of the device. * @param pucMode Pointer to unsigned char to store the instantaneous data * bus value. * @return FT_STATUS: FT_OK if successful, otherwise the return value is an * FT error code. */ int FT_GetBitmode(int ftHandle, ByteByReference pucMode);
public boolean NSFNoteIsSignedOrSealed(long note_handle, ByteByReference signed_flag_ptr, ByteByReference sealed_flag_ptr);
public native boolean NSFNoteIsSignedOrSealed(int note_handle, ByteByReference signed_flag_ptr, ByteByReference sealed_flag_ptr);
public boolean NSFNoteIsSignedOrSealed(int note_handle, ByteByReference signed_flag_ptr, ByteByReference sealed_flag_ptr);
public native boolean NSFNoteIsSignedOrSealed(long note_handle, ByteByReference signed_flag_ptr, ByteByReference sealed_flag_ptr);
public static native void al_unmap_rgb(ALLEGRO_COLOR color, ByteByReference r, ByteByReference g, ByteByReference b);
public static native void al_unmap_rgba(ALLEGRO_COLOR color, ByteByReference r, ByteByReference g, ByteByReference b, ByteByReference a);