shell32: Write-strings warnings fix.

This commit is contained in:
Andrew Talbot 2006-08-07 19:03:40 +01:00 committed by Alexandre Julliard
parent f5e0195be6
commit 5d0e4ba0eb
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ void FillList (HWND hCb, char *pszLatest)
if (ERROR_SUCCESS != RegCreateKeyExA (
HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RunMRU",
0, "", REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL))
0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL))
MessageBoxA (hCb, "Unable to open registry key !", "Nix", MB_OK) ;
RegQueryValueExA (hkey, "MRUList", NULL, NULL, NULL, &icList) ;

View File

@ -522,7 +522,7 @@ SignalFileOpen (DWORD dwParam1)
* RETURNS
* result of the SHQueryValueEx call
*/
static INT SHADD_get_policy(LPSTR policy, LPDWORD type, LPVOID buffer, LPDWORD len)
static INT SHADD_get_policy(LPCSTR policy, LPDWORD type, LPVOID buffer, LPDWORD len)
{
HKEY Policy_basekey;
INT ret;