forked from petesh/jna-mpr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNETRESOURCEW.java
More file actions
executable file
·47 lines (42 loc) · 891 Bytes
/
NETRESOURCEW.java
File metadata and controls
executable file
·47 lines (42 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.WString;
/**
* http://msdn.microsoft.com/en-us/library/windows/desktop/aa385353(v=vs.85).aspx
*/
public class NETRESOURCEW extends Structure
{
public static final java.util.List<String> fieldOrder = java.util.Arrays.asList(new String[]
{
"dwScope",
"dwType",
"dwDisplayType",
"dwUsage",
"lpLocalName",
"lpRemoteName",
"lpComment",
"lpProvider"
});
public int dwScope;
public int dwType;
public int dwDisplayType;
public int dwUsage;
public WString lpLocalName;
public WString lpRemoteName;
public WString lpComment;
public WString lpProvider;
@Override
protected java.util.List getFieldOrder()
{
return fieldOrder;
}
public NETRESOURCEW(Pointer mem)
{
super(mem);
read();
}
public NETRESOURCEW()
{
super();
}
}