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