API help

BlitzPlus Forums/BlitzPlus Beginners Area/API help

em22(Posted 2009) [#1]
Can anyone help with these ?

I found a web site ages ago that helped me understand what is required by the API but I cannot for the life figure how to use these!

I know the obvious, how to add them into Blitz+ but my source doesnt really do anything...

.lib "Advapi32.dll"

RegOpenKey%(hKeyParent%,SubKey$,phkResult*):"RegOpenKeyA"
RegCloseKey%(hKey%):"RegCloseKey"
RegFlushKey%(hKey%):"RegFlushKey"
RegCreateKey%(hKeyParent%,SubKey$,phkResult*):"RegCreateKeyA"
RegDeleteKey%(hKeyParent%,SubKey$):"RegDeleteKeyA"
RegSetValueEx%(hKey%,ValueName$,Reserved%,nType%,Bytes*,size%):"RegSetValueExA"
RegDeleteValue%(hKey%,ValueName$):"RegDeleteValueA"
RegEnumKey%(hKey%,idx%,Key*,size%):"RegEnumKeyA"
RegEnumValue%(hKey%,idx%,ValueName*,NameSize*,Reserved%,nType*,ValueBytes*,ValueSize*):"RegEnumValueA"
RegQueryValueEx%(hKey%,ValueName$,Reserved%,nType*,ValueBytes*,ValueSize*):"RegQueryValueExA"


em22(Posted 2009) [#2]
Found the help!

http://www.blitzbasic.com/codearcs/codearcs.php?code=1136