twall/jna — pull request #55 by joval (2012-02-20 20:27:35+00:00)
Title: Some fixes and additions

Hello Gentlemen:

I thought you might be interested in incorporating some contrib/platform win32 changes I've made to my branch of JNA:
1) REG_MULTI_SZ was not properly being handled. You need to ignore what would appear to be a final zero-length string, which actually signals the end of the array.
2) I added GetFileType and GetDriveType to Kernel32/Util
3) I added a check for ERROR_MORE_DATA in Advapr32Util.registryValueExists, which is necessary when checking a QWORD value

My changes to Kernel32 are obscured by white-space changes... I'll try to remember the git command to ignore whitespace and attach it in a subsequent message.

Regards,
--David Solin