当前位置: 首页>>代码示例>>Java>>正文


Java ByteByReference类代码示例

本文整理汇总了Java中com.sun.jna.ptr.ByteByReference的典型用法代码示例。如果您正苦于以下问题:Java ByteByReference类的具体用法?Java ByteByReference怎么用?Java ByteByReference使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ByteByReference类属于com.sun.jna.ptr包,在下文中一共展示了ByteByReference类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: NSFItemQueryEx

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
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);
 
开发者ID:klehmann,项目名称:domino-jna,代码行数:13,代码来源:INotesNativeAPI64.java

示例2: NSFItemQueryEx

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
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);
 
开发者ID:klehmann,项目名称:domino-jna,代码行数:13,代码来源:NotesNativeAPI32.java

示例3: NSFItemQueryEx

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
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);
 
开发者ID:klehmann,项目名称:domino-jna,代码行数:13,代码来源:INotesNativeAPI32.java

示例4: NSFItemQueryEx

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
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);
 
开发者ID:klehmann,项目名称:domino-jna,代码行数:13,代码来源:NotesNativeAPI64.java

示例5: Image

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
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;
}
 
开发者ID:senbox-org,项目名称:s2tbx,代码行数:13,代码来源:Image.java

示例6: GlobalByte

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
public GlobalByte(NativeLibrary library, String... symbols) {
	super(library, ByteByReference.class, symbols);
}
 
开发者ID:nativelibs4java,项目名称:JNAerator,代码行数:4,代码来源:GlobalByte.java

示例7: getLatencyTimer

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
/**
 * 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);
}
 
开发者ID:freedomotic,项目名称:freedomotic,代码行数:11,代码来源:FTDevice.java

示例8: getBitMode

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
/**
 * 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());
}
 
开发者ID:freedomotic,项目名称:freedomotic,代码行数:11,代码来源:FTDevice.java

示例9: toCFNumberRef

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
/**
 * 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));
}
 
开发者ID:DigitalMediaServer,项目名称:DigitalMediaServer,代码行数:11,代码来源:CoreFoundation.java

示例10: GetLayeredWindowAttributes

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
/**
 * 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);
 
开发者ID:jindrapetrik,项目名称:javactivex,代码行数:27,代码来源:User32.java

示例11: FT_GetLatencyTimer

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
/**
 * 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);
 
开发者ID:freedomotic,项目名称:freedomotic,代码行数:9,代码来源:FTD2XX.java

示例12: FT_GetBitmode

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
/**
 * 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);
 
开发者ID:freedomotic,项目名称:freedomotic,代码行数:10,代码来源:FTD2XX.java

示例13: NSFNoteIsSignedOrSealed

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
public boolean NSFNoteIsSignedOrSealed(long note_handle, ByteByReference signed_flag_ptr, ByteByReference sealed_flag_ptr); 
开发者ID:klehmann,项目名称:domino-jna,代码行数:2,代码来源:INotesNativeAPI64.java

示例14: NSFNoteIsSignedOrSealed

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
public native boolean NSFNoteIsSignedOrSealed(int note_handle, ByteByReference signed_flag_ptr, ByteByReference sealed_flag_ptr); 
开发者ID:klehmann,项目名称:domino-jna,代码行数:2,代码来源:NotesNativeAPI32.java

示例15: NSFNoteIsSignedOrSealed

import com.sun.jna.ptr.ByteByReference; //导入依赖的package包/类
public boolean NSFNoteIsSignedOrSealed(int note_handle, ByteByReference signed_flag_ptr, ByteByReference sealed_flag_ptr); 
开发者ID:klehmann,项目名称:domino-jna,代码行数:2,代码来源:INotesNativeAPI32.java


注:本文中的com.sun.jna.ptr.ByteByReference类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。