November 25, 2020, 05:36:57 AM

Author Topic: [bb] kernel32.dll decls for INI access by gman [ 1+ years ago ]  (Read 633 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
Title : kernel32.dll decls for INI access
Author : gman
Posted : 1+ years ago

Description : not a full function declaration for kernel32.dll, but has whats needed to access INI files.

Code :
Code: BlitzBasic
  1. .lib "kernel32.dll"
  2.  
  3. IniRead%(AppName$, KeyName$, Default$, String*, size%, FileName$):"GetPrivateProfileStringA"
  4. IniEnumValues%(AppName$, KeyNull%, Default$, String*, size%, FileName$):"GetPrivateProfileStringA"
  5. IniEnumSections%(KeyNull1%, KeyNull2%, Default$, String*, size%, FileName$):"GetPrivateProfileStringA"
  6. IniWrite%(AppName$, KeyName$, Value$, FileName$):"WritePrivateProfileStringA"


Comments : none...

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal