petesh / jna-mpr

Windows Mpr.dll for JNA
3 stars 2 forks source link

Functions now throw exceptions (and still return errror codes if needed) #1

Closed ghost closed 9 years ago

ghost commented 9 years ago

I just added the posibility to use the JNA LastErrorException if the user wants to. This does not prevent from using the "old" error codes if the user want to.