Changeset 172 for Include/api_reg.sbp


Ignore:
Timestamp:
Mar 17, 2007, 1:14:19 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

レジストリAPIのコメントアウト解除ほか

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_reg.sbp

    r170 r172  
    1818Const _FuncName_RegQueryMultipleValues = "RegQueryMultipleValuesW"
    1919Const _FuncName_RegQueryValueEx = "RegQueryValueExW"
     20Const _FuncName_RegReplaceKey = "RegReplaceKeyW"
    2021Const _FuncName_RegSaveKey = "RegSaveKeyW"
    2122Const _FuncName_RegSetValueEx = "RegSetValueExW"
     
    3334Const _FuncName_RegQueryMultipleValues = "RegQueryMultipleValuesA"
    3435Const _FuncName_RegQueryValueEx = "RegQueryValueExA"
     36Const _FuncName_RegReplaceKey = "RegReplaceKeyA"
    3537Const _FuncName_RegSaveKey = "RegSaveKeyA"
    3638Const _FuncName_RegSetValueEx = "RegSetValueExA"
     
    3840#endif
    3941
    40 ' Options
    41 Const REG_OPTION_NON_VOLATILE =   &H00000000
    42 'Const REG_OPTION_VOLATILE =       &H00000001
    43 'Const REG_OPTION_BACKUP_RESTORE = &H00000004
    44 
    45 
    4642' Reserved Key Handles
    47 Const HKEY_CLASSES_ROOT =     &H80000000
    48 Const HKEY_CURRENT_USER =     &H80000001
    49 Const HKEY_LOCAL_MACHINE =    &H80000002
    50 Const HKEY_USERS =            &H80000003
    51 Const HKEY_PERFORMANCE_DATA = &H80000004
    52 Const HKEY_CURRENT_CONFIG =   &H80000005
    53 Const HKEY_DYN_DATA =         &H80000006
     43Const HKEY_CLASSES_ROOT =     ((&H80000000 As Long) As ULONG_PTR) As HKEY
     44Const HKEY_CURRENT_USER =     ((&H80000001 As Long) As ULONG_PTR) As HKEY
     45Const HKEY_LOCAL_MACHINE =    ((&H80000002 As Long) As ULONG_PTR) As HKEY
     46Const HKEY_USERS =            ((&H80000003 As Long) As ULONG_PTR) As HKEY
     47Const HKEY_PERFORMANCE_DATA = ((&H80000004 As Long) As ULONG_PTR) As HKEY
     48Const HKEY_CURRENT_CONFIG =   ((&H80000005 As Long) As ULONG_PTR) As HKEY
     49Const HKEY_DYN_DATA =         ((&H80000006 As Long) As ULONG_PTR) As HKEY
    5450
    5551Type VALENTW
     
    8379Declare 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
    8480Declare Function RegFlushKey Lib "advapi32"(hKey As HKEY) As Long
    85 /*
    8681Declare Function RegLoadKey Lib "advapi32" Alias _FuncName_RegLoadKey (hKey As HKEY, pSubKey As PCTSTR, pFile As PCTSTR) As Long
    8782Declare 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
     
    8984Declare 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
    9085Declare 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
     86Declare Function RegReplaceKey Lib "advapi32" Alias _FuncName_RegReplaceKey (hKey As HKEY, lpSubKey As LPCTSTR, lpNewFile As LPCTSTR, lpOldFile As LPCTSTR) As Long
    9187Declare Function RegSaveKey Lib "advapi32" Alias _FuncName_RegSaveKey (hKey As HKEY, pFile As PCTSTR, pSecurityAttributes As *SECURITY_ATTRIBUTES) As Long
    9288Declare 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 As PCTSTR) As Long
    94 */
    95 '_INC_REG
     89Declare 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.