Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
static List<String> |
FIELDS |
int |
shi502_current_uses
Specifies a DWORD value that indicates the number of current connections to the resource.
|
int |
shi502_max_uses
Specifies a DWORD value that indicates the maximum number of concurrent connections that the shared resource can accommodate.
|
String |
shi502_netname
Pointer to a Unicode string specifying the name of a shared resource.
|
String |
shi502_passwd
Pointer to a Unicode string that specifies the share's password (when the server is running with share-level security).
|
String |
shi502_path
Pointer to a Unicode string that contains the local path for the shared resource.
|
int |
shi502_permissions
Specifies a DWORD value that indicates the shared resource's permissions for servers running with share-level security.
|
String |
shi502_remark
Pointer to a Unicode string specifying an optional comment about the shared resource.
|
int |
shi502_reserved
Reserved; must be zero.
|
Pointer |
shi502_security_descriptor
Specifies the SECURITY_DESCRIPTOR associated with this share.
|
int |
shi502_type
A combination of values that specify the type of share.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
SHARE_INFO_502() |
SHARE_INFO_502(Pointer memory) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public String shi502_netname
public int shi502_type
public String shi502_remark
public int shi502_permissions
public int shi502_max_uses
public int shi502_current_uses
public String shi502_path
public String shi502_passwd
public int shi502_reserved
public Pointer shi502_security_descriptor
public SHARE_INFO_502()
public SHARE_INFO_502(Pointer memory)
protected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure