Changeset 172 for Include/api_reg.sbp
- Timestamp:
- Mar 17, 2007, 1:14:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_reg.sbp
r170 r172 18 18 Const _FuncName_RegQueryMultipleValues = "RegQueryMultipleValuesW" 19 19 Const _FuncName_RegQueryValueEx = "RegQueryValueExW" 20 Const _FuncName_RegReplaceKey = "RegReplaceKeyW" 20 21 Const _FuncName_RegSaveKey = "RegSaveKeyW" 21 22 Const _FuncName_RegSetValueEx = "RegSetValueExW" … … 33 34 Const _FuncName_RegQueryMultipleValues = "RegQueryMultipleValuesA" 34 35 Const _FuncName_RegQueryValueEx = "RegQueryValueExA" 36 Const _FuncName_RegReplaceKey = "RegReplaceKeyA" 35 37 Const _FuncName_RegSaveKey = "RegSaveKeyA" 36 38 Const _FuncName_RegSetValueEx = "RegSetValueExA" … … 38 40 #endif 39 41 40 ' Options41 Const REG_OPTION_NON_VOLATILE = &H0000000042 'Const REG_OPTION_VOLATILE = &H0000000143 'Const REG_OPTION_BACKUP_RESTORE = &H0000000444 45 46 42 ' Reserved Key Handles 47 Const HKEY_CLASSES_ROOT = &H8000000048 Const HKEY_CURRENT_USER = &H8000000149 Const HKEY_LOCAL_MACHINE = &H8000000250 Const HKEY_USERS = &H8000000351 Const HKEY_PERFORMANCE_DATA = &H8000000452 Const HKEY_CURRENT_CONFIG = &H8000000553 Const HKEY_DYN_DATA = &H8000000643 Const HKEY_CLASSES_ROOT = ((&H80000000 As Long) As ULONG_PTR) As HKEY 44 Const HKEY_CURRENT_USER = ((&H80000001 As Long) As ULONG_PTR) As HKEY 45 Const HKEY_LOCAL_MACHINE = ((&H80000002 As Long) As ULONG_PTR) As HKEY 46 Const HKEY_USERS = ((&H80000003 As Long) As ULONG_PTR) As HKEY 47 Const HKEY_PERFORMANCE_DATA = ((&H80000004 As Long) As ULONG_PTR) As HKEY 48 Const HKEY_CURRENT_CONFIG = ((&H80000005 As Long) As ULONG_PTR) As HKEY 49 Const HKEY_DYN_DATA = ((&H80000006 As Long) As ULONG_PTR) As HKEY 54 50 55 51 Type VALENTW … … 83 79 Declare Function RegEnumValue Lib "advapi32" Alias _FuncName_RegEnumValue (hKey As HKEY, dwIndex As DWord, pValueName As PTSTR, ByRef cValueName As DWord, pReserved As *DWord, pType As *DWord, pData As *Byte, pcbData As *DWord) As Long 84 80 Declare Function RegFlushKey Lib "advapi32"(hKey As HKEY) As Long 85 /*86 81 Declare Function RegLoadKey Lib "advapi32" Alias _FuncName_RegLoadKey (hKey As HKEY, pSubKey As PCTSTR, pFile As PCTSTR) As Long 87 82 Declare Function RegOpenKeyEx Lib "advapi32" Alias _FuncName_RegOpenKeyEx (hKey As HKEY, lpSubKey As PCTSTR, ulOptions As DWord, samDesired As Long, ByRef phkResult As HKEY) As Long … … 89 84 Declare Function RegQueryMultipleValues Lib "advapi32" Alias _FuncName_RegQueryMultipleValues (hKey As HKEY, val_list As *VALENT, num_vals As DWord, pValueBuf As PTSTR, ByRef dwTotsize As DWord) As Long 90 85 Declare Function RegQueryValueEx Lib "advapi32" Alias _FuncName_RegQueryValueEx (hKey As HKEY, lpValueName As PCTSTR, lpReserved As DWord, lpType As *DWord, lpData As VoidPtr, lpcbData As *DWord) As Long 86 Declare Function RegReplaceKey Lib "advapi32" Alias _FuncName_RegReplaceKey (hKey As HKEY, lpSubKey As LPCTSTR, lpNewFile As LPCTSTR, lpOldFile As LPCTSTR) As Long 91 87 Declare Function RegSaveKey Lib "advapi32" Alias _FuncName_RegSaveKey (hKey As HKEY, pFile As PCTSTR, pSecurityAttributes As *SECURITY_ATTRIBUTES) As Long 92 88 Declare Function RegSetValueEx Lib "advapi32" Alias _FuncName_RegSetValueEx (hKey As HKEY, lpValueName As PCTSTR, Reserved As DWord, dwType As DWord, lpData As VoidPtr, cbData As DWord) As Long 93 Declare Function RegUnLoadKey Lib "advapi32" Alias _FuncName_RegUnLoadKey (hKey As HKEY, pSubKey AsPCTSTR) As Long94 */ 95 '_INC_REG89 Declare Function RegUnLoadKey Lib "advapi32" Alias _FuncName_RegUnLoadKey (hKey As HKEY, lpSubKey As LPCTSTR) As Long 90 91 #endif '_INC_REG
Note:
See TracChangeset
for help on using the changeset viewer.