Commit 6db32501 authored by Gael de Chalendar's avatar Gael de Chalendar Committed by Alexandre Julliard

Corrected a typo in spec file and added some stubs.

parent cf459ac7
...@@ -57,6 +57,38 @@ LONG WINAPI SHRegGetUSValueW( ...@@ -57,6 +57,38 @@ LONG WINAPI SHRegGetUSValueW(
} }
/************************************************************************* /*************************************************************************
* SHRegOpenUSKeyA [SHLWAPI.@]
*
* Openss a user-specific registry key
*/
LONG WINAPI SHRegOpenUSKeyA(
LPCSTR Path,
REGSAM AccessType,
HKEY hRelativeUSKey,
HKEY hNewUSKey,
BOOL fIgnoreHKCU)
{
FIXME("stub!\n");
return ERROR_SUCCESS; /* return success */
}
/*************************************************************************
* SHRegOpenUSKeyW [SHLWAPI.@]
*
* Openss a user-specific registry key
*/
LONG WINAPI SHRegOpenUSKeyW(
LPCSTR Path,
REGSAM AccessType,
HKEY hRelativeUSKey,
HKEY hNewUSKey,
BOOL fIgnoreHKCU)
{
FIXME("stub!\n");
return ERROR_SUCCESS; /* return success */
}
/*************************************************************************
* SHRegGetBoolUSValueA [SHLWAPI.@] * SHRegGetBoolUSValueA [SHLWAPI.@]
*/ */
BOOL WINAPI SHRegGetBoolUSValueA( BOOL WINAPI SHRegGetBoolUSValueA(
...@@ -100,6 +132,23 @@ LONG WINAPI SHRegQueryUSValueA( ...@@ -100,6 +132,23 @@ LONG WINAPI SHRegQueryUSValueA(
} }
/************************************************************************* /*************************************************************************
* SHRegQueryUSValueA [SHLWAPI]
*/
LONG WINAPI SHRegQueryUSValueW(
HKEY hUSKey, /* [in] FIXME: HUSKEY */
LPCSTR pszValue,
LPDWORD pdwType,
void *pvData,
LPDWORD pcbData,
BOOL fIgnoreHKCU,
void *pvDefaultData,
DWORD dwDefaultDataSize)
{
FIXME("%s stub\n",pszValue);
return 1;
}
/*************************************************************************
* SHRegGetPathA [SHLWAPI.@] * SHRegGetPathA [SHLWAPI.@]
*/ */
DWORD WINAPI SHRegGetPathA( DWORD WINAPI SHRegGetPathA(
......
...@@ -133,7 +133,7 @@ debug_channels (shell) ...@@ -133,7 +133,7 @@ debug_channels (shell)
121 forward @ advapi32.RegDeleteKeyW 121 forward @ advapi32.RegDeleteKeyW
122 forward @ advapi32.RegEnumKeyW 122 forward @ advapi32.RegEnumKeyW
123 forward @ advapi32.RegEnumKeyExW 123 forward @ advapi32.RegEnumKeyExW
124 forward @ dvapi32.RegOpenKeyW 124 forward @ advapi32.RegOpenKeyW
125 forward @ advapi32.RegOpenKeyExW 125 forward @ advapi32.RegOpenKeyExW
126 forward @ advapi32.RegQueryInfoKeyW 126 forward @ advapi32.RegQueryInfoKeyW
127 forward @ advapi32.RegQueryValueW 127 forward @ advapi32.RegQueryValueW
...@@ -600,12 +600,12 @@ debug_channels (shell) ...@@ -600,12 +600,12 @@ debug_channels (shell)
@ stdcall SHRegGetBoolUSValueW(wstr wstr long long)SHRegGetBoolUSValueW @ stdcall SHRegGetBoolUSValueW(wstr wstr long long)SHRegGetBoolUSValueW
@ stdcall SHRegGetUSValueA ( ptr str ptr ptr ptr long ptr long ) SHRegGetUSValueA @ stdcall SHRegGetUSValueA ( ptr str ptr ptr ptr long ptr long ) SHRegGetUSValueA
@ stdcall SHRegGetUSValueW ( ptr wstr ptr ptr ptr long ptr long ) SHRegGetUSValueW @ stdcall SHRegGetUSValueW ( ptr wstr ptr ptr ptr long ptr long ) SHRegGetUSValueW
@ stub SHRegOpenUSKeyA @ stdcall SHRegOpenUSKeyA ( str long long long long ) SHRegOpenUSKeyA
@ stub SHRegOpenUSKeyW @ stdcall SHRegOpenUSKeyW ( wstr long long long long ) SHRegOpenUSKeyW
@ stub SHRegQueryInfoUSKeyA @ stub SHRegQueryInfoUSKeyA
@ stub SHRegQueryInfoUSKeyW @ stub SHRegQueryInfoUSKeyW
@ stdcall SHRegQueryUSValueA(long str ptr ptr ptr long ptr long)SHRegQueryUSValueA @ stdcall SHRegQueryUSValueA ( long str ptr ptr ptr long ptr long ) SHRegQueryUSValueA
@ stub SHRegQueryUSValueW @ stdcall SHRegQueryUSValueW ( long wstr ptr ptr ptr long ptr long ) SHRegQueryUSValueW
@ stub SHRegSetUSValueA @ stub SHRegSetUSValueA
@ stub SHRegSetUSValueW @ stub SHRegSetUSValueW
@ stub SHRegWriteUSValueA @ stub SHRegWriteUSValueA
...@@ -639,8 +639,8 @@ debug_channels (shell) ...@@ -639,8 +639,8 @@ debug_channels (shell)
@ stub StrFromTimeIntervalW @ stub StrFromTimeIntervalW
@ stub StrIsIntlEqualA @ stub StrIsIntlEqualA
@ stub StrIsIntlEqualW @ stub StrIsIntlEqualW
@ stub StrNCatA @ stdcall StrNCatA(str str long) StrNCatA
@ stub StrNCatW @ stdcall StrNCatW(wstr wstr long) StrNCatW
@ stub StrPBrkA @ stub StrPBrkA
@ stub StrPBrkW @ stub StrPBrkW
@ stdcall StrRChrA (str str long) StrRChrA @ stdcall StrRChrA (str str long) StrRChrA
...@@ -656,8 +656,8 @@ debug_channels (shell) ...@@ -656,8 +656,8 @@ debug_channels (shell)
@ stdcall StrStrIW(wstr wstr)StrStrIW @ stdcall StrStrIW(wstr wstr)StrStrIW
@ stdcall StrStrW(wstr wstr)StrStrW @ stdcall StrStrW(wstr wstr)StrStrW
@ stdcall StrToIntA(str)StrToIntA @ stdcall StrToIntA(str)StrToIntA
@ stub StrToIntExA @ stdcall StrToIntExA(str long ptr) StrToIntExA
@ stub StrToIntExW @ stdcall StrToIntExW(wstr long ptr) StrToIntExW
@ stdcall StrToIntW(wstr)StrToIntW @ stdcall StrToIntW(wstr)StrToIntW
@ stub StrTrimA @ stub StrTrimA
@ stub StrTrimW @ stub StrTrimW
......
...@@ -198,6 +198,26 @@ int WINAPI StrToIntW(LPCWSTR lpSrc) ...@@ -198,6 +198,26 @@ int WINAPI StrToIntW(LPCWSTR lpSrc)
} }
/************************************************************************* /*************************************************************************
* StrToIntExA [SHLWAPI]
*/
BOOL WINAPI StrToIntExA( LPCSTR pszString, DWORD dwFlags, LPINT piRet)
{
TRACE("%s %ld stub !\n", debugstr_a(pszString), dwFlags);
piRet = (LPINT) StrToIntA(pszString);
return TRUE;
}
/*************************************************************************
* StrToIntExW [SHLWAPI]
*/
BOOL WINAPI StrToIntExW( LPCWSTR pszString, DWORD dwFlags, LPINT piRet)
{
TRACE("%s %ld stub !\n", debugstr_w(pszString), dwFlags);
piRet = (LPINT) StrToIntW(pszString);
return TRUE;
}
/*************************************************************************
* StrDupA [SHLWAPI] * StrDupA [SHLWAPI]
*/ */
LPSTR WINAPI StrDupA (LPCSTR lpSrc) LPSTR WINAPI StrDupA (LPCSTR lpSrc)
...@@ -466,6 +486,24 @@ LPWSTR WINAPI StrFormatByteSizeW ( DWORD dw, LPWSTR pszBuf, UINT cchBuf ) ...@@ -466,6 +486,24 @@ LPWSTR WINAPI StrFormatByteSizeW ( DWORD dw, LPWSTR pszBuf, UINT cchBuf )
} }
/************************************************************************* /*************************************************************************
* StrNCatA [SHLWAPI]
*/
LPSTR WINAPI StrNCatA(LPSTR front, LPCSTR back, INT cchMax)
{
TRACE("%s %s %i stub\n", debugstr_a(front),debugstr_a(back),cchMax);
return (front);
}
/*************************************************************************
* StrNCatW [SHLWAPI]
*/
LPWSTR WINAPI StrNCatW(LPWSTR front, LPCWSTR back, INT cchMax)
{
TRACE("%s %s %i stub\n", debugstr_w(front),debugstr_w(back),cchMax);
return (front);
}
/*************************************************************************
* wnsprintfA [SHLWAPI] * wnsprintfA [SHLWAPI]
*/ */
int WINAPIV wnsprintfA(LPSTR lpOut, int cchLimitIn, LPCSTR lpFmt, ...) int WINAPIV wnsprintfA(LPSTR lpOut, int cchLimitIn, LPCSTR lpFmt, ...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment