Corrected a typo in spec file and added some stubs.

This commit is contained in:
Gael de Chalendar 2001-04-25 19:51:56 +00:00 committed by Alexandre Julliard
parent cf459ac76d
commit 6db325014e
3 changed files with 96 additions and 9 deletions

View file

@ -56,6 +56,38 @@ LONG WINAPI SHRegGetUSValueW(
return ERROR_SUCCESS; /* return success */
}
/*************************************************************************
* 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.@]
*/
@ -99,6 +131,23 @@ LONG WINAPI SHRegQueryUSValueA(
return 1;
}
/*************************************************************************
* 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.@]
*/

View file

@ -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

View file

@ -197,6 +197,26 @@ int WINAPI StrToIntW(LPCWSTR lpSrc)
return atol(buffer);
}
/*************************************************************************
* 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]
*/
@ -465,6 +485,24 @@ LPWSTR WINAPI StrFormatByteSizeW ( DWORD dw, LPWSTR pszBuf, UINT cchBuf )
return pszBuf;
}
/*************************************************************************
* 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]
*/