Code archives/User Libs/kernel32.dll decls for INI access

This code has been declared by its author to be Public Domain code.

Download source code

kernel32.dll decls for INI access by gman2004
not a full function declaration for kernel32.dll, but has whats needed to access INI files.
.lib "kernel32.dll"

IniRead%(AppName$, KeyName$, Default$, String*, size%, FileName$):"GetPrivateProfileStringA"
IniEnumValues%(AppName$, KeyNull%, Default$, String*, size%, FileName$):"GetPrivateProfileStringA"
IniEnumSections%(KeyNull1%, KeyNull2%, Default$, String*, size%, FileName$):"GetPrivateProfileStringA"
IniWrite%(AppName$, KeyName$, Value$, FileName$):"WritePrivateProfileStringA"

Comments

None.

Code Archives Forum