Skip to content

Commit

Permalink
Fix field visibility bug from java-native-access#1209
Browse files Browse the repository at this point in the history
  • Loading branch information
dbwiddis committed Jul 15, 2020
1 parent e6c6b37 commit e6f41b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions contrib/platform/src/com/sun/jna/platform/win32/Tlhelp32.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,40 +191,40 @@ public ByReference(Pointer memory) {
* function, set this member to sizeof(THREADENTRY32). If you do not initialize
* dwSize, Thread32First fails.
*/
int dwSize;
public int dwSize;

/**
* This member is no longer used and is always set to zero.
*/
int cntUsage;
public int cntUsage;

/**
* The thread identifier, compatible with the thread identifier returned by the
* CreateProcess function.
*/
int th32ThreadID;
public int th32ThreadID;

/**
* The identifier of the process that created the thread.
*/
int th32OwnerProcessID;
public int th32OwnerProcessID;

/**
* The kernel base priority level assigned to the thread. The priority is a
* number from 0 to 31, with 0 representing the lowest possible thread priority.
* For more information, see KeQueryPriorityThread.
*/
NativeLong tpBasePri;
public NativeLong tpBasePri;

/**
* This member is no longer used and is always set to zero.
*/
NativeLong tpDeltaPri;
public NativeLong tpDeltaPri;

/**
* This member is no longer used and is always set to zero.
*/
int dwFlags;
public int dwFlags;

public THREADENTRY32() {
dwSize = size();
Expand Down

0 comments on commit e6f41b0

Please sign in to comment.