Ooops
November 25, 2020, 05:57:59 AM

Author Topic: [bb] advapi32.dll decls for registry access by gman [ 1+ years ago ]  (Read 646 times)

Offline BlitzBot

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

Description : not a full function declaration for advapi32.dll, but has many of the ones needed to access the registry.

Code :
Code: BlitzBasic
  1. .lib "Advapi32.dll"
  2.  
  3. RegOpenKey%(hKeyParent%,SubKey$,phkResult*):"RegOpenKeyA"
  4. RegCloseKey%(hKey%):"RegCloseKey"
  5. RegFlushKey%(hKey%):"RegFlushKey"
  6. RegCreateKey%(hKeyParent%,SubKey$,phkResult*):"RegCreateKeyA"
  7. RegDeleteKey%(hKeyParent%,SubKey$):"RegDeleteKeyA"
  8. RegSetValueEx%(hKey%,ValueName$,Reserved%,nType%,Bytes*,size%):"RegSetValueExA"
  9. RegDeleteValue%(hKey%,ValueName$):"RegDeleteValueA"
  10. RegEnumKey%(hKey%,idx%,Key*,size%):"RegEnumKeyA"
  11. RegEnumValue%(hKey%,idx%,ValueName*,NameSize*,Reserved%,nType*,ValueBytes*,ValueSize*):"RegEnumValueA"
  12. RegQueryValueEx%(hKey%,ValueName$,Reserved%,nType*,ValueBytes*,ValueSize*):"RegQueryValueExA"


Comments : none...

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal