shell32: Write-strings warnings fix.
This commit is contained in:
parent
f5e0195be6
commit
5d0e4ba0eb
|
@ -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) ;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue