Changeset 6709 for trunk/src/shell32/shellreg.c
- Timestamp:
- Sep 15, 2001, 11:26:26 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/shellreg.c
r6650 r6709 1 /* $Id: shellreg.c,v 1.3 2001-09-05 13:46:58 bird Exp $ */2 1 /* 3 2 Shell Registry Access 4 3 */ 5 4 #include <string.h> … … 18 17 19 18 /************************************************************************* 20 * SHRegOpenKeyA 19 * SHRegOpenKeyA [SHELL32.506] 21 20 * 22 21 */ 23 22 HRESULT WINAPI SHRegOpenKeyA( 24 25 26 27 { 28 29 30 } 31 32 /************************************************************************* 33 * SHRegOpenKeyW 23 HKEY hKey, 24 LPSTR lpSubKey, 25 LPHKEY phkResult) 26 { 27 TRACE("(0x%08x, %s, %p)\n", hKey, debugstr_a(lpSubKey), phkResult); 28 return RegOpenKeyA(hKey, lpSubKey, phkResult); 29 } 30 31 /************************************************************************* 32 * SHRegOpenKeyW [NT4.0:SHELL32.507] 34 33 * 35 34 */ 36 35 HRESULT WINAPI SHRegOpenKeyW ( 37 38 39 40 { 41 42 36 HKEY hkey, 37 LPCWSTR lpszSubKey, 38 LPHKEY retkey) 39 { 40 WARN("0x%04x %s %p\n",hkey,debugstr_w(lpszSubKey),retkey); 41 return RegOpenKeyW( hkey, lpszSubKey, retkey ); 43 42 } 44 43 … … 48 47 */ 49 48 HRESULT WINAPI SHRegQueryValueExA( 50 51 52 53 54 55 56 { 57 58 59 } 60 61 /************************************************************************* 62 * SHRegQueryValueW 49 HKEY hkey, 50 LPSTR lpValueName, 51 LPDWORD lpReserved, 52 LPDWORD lpType, 53 LPBYTE lpData, 54 LPDWORD lpcbData) 55 { 56 TRACE("0x%04x %s %p %p %p %p\n", hkey, lpValueName, lpReserved, lpType, lpData, lpcbData); 57 return RegQueryValueExA (hkey, lpValueName, lpReserved, lpType, lpData, lpcbData); 58 } 59 60 /************************************************************************* 61 * SHRegQueryValueW [NT4.0:SHELL32.510] 63 62 * 64 63 */ 65 64 HRESULT WINAPI SHRegQueryValueW( 66 67 68 69 70 { 71 72 73 74 } 75 76 /************************************************************************* 77 * SHRegQueryValueExW 78 * 79 * FIXME 65 HKEY hkey, 66 LPWSTR lpszSubKey, 67 LPWSTR lpszData, 68 LPDWORD lpcbData ) 69 { 70 WARN("0x%04x %s %p %p semi-stub\n", 71 hkey, debugstr_w(lpszSubKey), lpszData, lpcbData); 72 return RegQueryValueW( hkey, lpszSubKey, lpszData, lpcbData ); 73 } 74 75 /************************************************************************* 76 * SHRegQueryValueExW [NT4.0:SHELL32.511] 77 * 78 * FIXME 80 79 * if the datatype REG_EXPAND_SZ then expand the string and change 81 * *pdwType to REG_SZ. 80 * *pdwType to REG_SZ. 82 81 */ 83 82 HRESULT WINAPI SHRegQueryValueExW ( 84 85 86 87 88 89 90 { 91 92 93 94 95 83 HKEY hkey, 84 LPWSTR pszValue, 85 LPDWORD pdwReserved, 86 LPDWORD pdwType, 87 LPVOID pvData, 88 LPDWORD pcbData) 89 { 90 DWORD ret; 91 WARN("0x%04x %s %p %p %p %p semi-stub\n", 92 hkey, debugstr_w(pszValue), pdwReserved, pdwType, pvData, pcbData); 93 ret = RegQueryValueExW ( hkey, pszValue, pdwReserved, pdwType, pvData, pcbData); 94 return ret; 96 95 } 97 96 … … 100 99 */ 101 100 HRESULT WINAPI SHRegDeleteKeyA( 102 103 104 { 105 101 HKEY hkey, 102 LPCSTR pszSubKey) 103 { 104 FIXME("hkey=0x%08x, %s\n", hkey, debugstr_a(pszSubKey)); 106 105 #ifdef __WIN32OS2__ 107 106 return RegDeleteKeyA(hkey,pszSubKey); 108 107 #else 109 108 return 0; 110 109 #endif 111 110 } … … 115 114 */ 116 115 HRESULT WINAPI SHRegDeleteKeyW( 117 118 119 { 120 116 HKEY hkey, 117 LPCWSTR pszSubKey) 118 { 119 FIXME("hkey=0x%08x, %s\n", hkey, debugstr_w(pszSubKey)); 121 120 #ifdef __WIN32OS2__ 122 121 return RegDeleteKeyW(hkey,pszSubKey); 123 122 #else 124 123 return 0; 125 124 #endif 126 125 } 127 126 128 127 /************************************************************************* 129 * SHRegCloseKey 128 * SHRegCloseKey [NT4.0:SHELL32.505] 130 129 * 131 130 */ 132 131 HRESULT WINAPI SHRegCloseKey (HKEY hkey) 133 132 { 134 135 133 TRACE("0x%04x\n",hkey); 134 return RegCloseKey( hkey ); 136 135 } 137 136
Note:
See TracChangeset
for help on using the changeset viewer.