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(
}
/*************************************************************************
* 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.@]
*/
BOOL WINAPI SHRegGetBoolUSValueA(
......@@ -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.@]
*/
DWORD WINAPI SHRegGetPathA(
......
......@@ -133,7 +133,7 @@ debug_channels (shell)
121 forward @ advapi32.RegDeleteKeyW
122 forward @ advapi32.RegEnumKeyW
123 forward @ advapi32.RegEnumKeyExW
124 forward @ dvapi32.RegOpenKeyW
124 forward @ advapi32.RegOpenKeyW
125 forward @ advapi32.RegOpenKeyExW
126 forward @ advapi32.RegQueryInfoKeyW
127 forward @ advapi32.RegQueryValueW
......@@ -600,12 +600,12 @@ debug_channels (shell)
@ stdcall SHRegGetBoolUSValueW(wstr wstr long long)SHRegGetBoolUSValueW
@ stdcall SHRegGetUSValueA ( ptr str ptr ptr ptr long ptr long ) SHRegGetUSValueA
@ stdcall SHRegGetUSValueW ( ptr wstr ptr ptr ptr long ptr long ) SHRegGetUSValueW
@ stub SHRegOpenUSKeyA
@ stub SHRegOpenUSKeyW
@ stdcall SHRegOpenUSKeyA ( str long long long long ) SHRegOpenUSKeyA
@ stdcall SHRegOpenUSKeyW ( wstr long long long long ) SHRegOpenUSKeyW
@ stub SHRegQueryInfoUSKeyA
@ stub SHRegQueryInfoUSKeyW
@ stdcall SHRegQueryUSValueA(long str ptr ptr ptr long ptr long)SHRegQueryUSValueA
@ stub SHRegQueryUSValueW
@ stdcall SHRegQueryUSValueA ( long str ptr ptr ptr long ptr long ) SHRegQueryUSValueA
@ stdcall SHRegQueryUSValueW ( long wstr ptr ptr ptr long ptr long ) SHRegQueryUSValueW
@ stub SHRegSetUSValueA
@ stub SHRegSetUSValueW
@ stub SHRegWriteUSValueA
......@@ -639,8 +639,8 @@ debug_channels (shell)
@ stub StrFromTimeIntervalW
@ stub StrIsIntlEqualA
@ stub StrIsIntlEqualW
@ stub StrNCatA
@ stub StrNCatW
@ stdcall StrNCatA(str str long) StrNCatA
@ stdcall StrNCatW(wstr wstr long) StrNCatW
@ stub StrPBrkA
@ stub StrPBrkW
@ stdcall StrRChrA (str str long) StrRChrA
......@@ -656,8 +656,8 @@ debug_channels (shell)
@ stdcall StrStrIW(wstr wstr)StrStrIW
@ stdcall StrStrW(wstr wstr)StrStrW
@ stdcall StrToIntA(str)StrToIntA
@ stub StrToIntExA
@ stub StrToIntExW
@ stdcall StrToIntExA(str long ptr) StrToIntExA
@ stdcall StrToIntExW(wstr long ptr) StrToIntExW
@ stdcall StrToIntW(wstr)StrToIntW
@ stub StrTrimA
@ stub StrTrimW
......
......@@ -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]
*/
LPSTR WINAPI StrDupA (LPCSTR lpSrc)
......@@ -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]
*/
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