twall/jna — pull request #145 by aikidojohn (2012-10-24 20:21:23+00:00)
Title: Fixing Netapi32Util.getDomainTrusts() includes "empty" domain object

After creating the DS_DOMAIN_TRUST structure from memory, read() was not being called to set the field values for the first array element from memory.

I'm adding a call to read() in the DS_DOMAIN_TRUST(Pointer p) constructor since this appears to be the convention.