Provide complete information about the problem
- Version of JNA and related jars
5.10.0
- Version and vendor of the java virtual machine
Azul 8
- Operating system
Windows
- System architecture (CPU type, bitness of the JVM)
ALL
- Complete description of the problem
Kernel32Util.getPrivateProfileSection() throws Win32Exception with the error code 0x0 (i. e. "success", ERROR_SUCCESS) when the requested section exists in the referenced INI file but does not contain any entries, hence "is empty".
- Steps to reproduce
- Create some INI file containing only an arbitrary section header but nothing else.
- Invoke Kernel32Util.getPrivateProfileSection() for that section header.
Provide complete information about the problem
5.10.0
Azul 8
Windows
ALL
Kernel32Util.getPrivateProfileSection() throws Win32Exception with the error code 0x0 (i. e. "success",
ERROR_SUCCESS) when the requested section exists in the referenced INI file but does not contain any entries, hence "is empty".