Package com.sun.jna.platform.win32
Class DBT.DEV_BROADCAST_PORT
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.DBT.DEV_BROADCAST_PORT
- Enclosing interface:
- DBT
@FieldOrder({"dbcp_size","dbcp_devicetype","dbcp_reserved","dbcp_name"})
public static class DBT.DEV_BROADCAST_PORT
extends Structure
The Class DEV_BROADCAST_PORT.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The dbcp_devicetype.byte[]
The dbcp_name.int
The dbcp_reserved.int
The dbcp_size.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new dev broadcast port.DEV_BROADCAST_PORT
(Pointer memory) Instantiates a new dev broadcast port. -
Method Summary
Modifier and TypeMethodDescriptionGets the dbcc_name.void
read()
Reads the fields of the struct from native memoryMethods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
dbcp_size
public int dbcp_sizeThe dbcp_size. -
dbcp_devicetype
public int dbcp_devicetypeThe dbcp_devicetype. -
dbcp_reserved
public int dbcp_reservedThe dbcp_reserved. -
dbcp_name
public byte[] dbcp_nameThe dbcp_name.
-
-
Constructor Details
-
DEV_BROADCAST_PORT
public DEV_BROADCAST_PORT()Instantiates a new dev broadcast port. -
DEV_BROADCAST_PORT
Instantiates a new dev broadcast port.- Parameters:
memory
- the memory
-
-
Method Details