Fixed incorrect arg count in SHGetSettings that causes winzip32.exe to

report an error.
This commit is contained in:
Mike McCormack 2000-09-18 01:40:13 +00:00 committed by Alexandre Julliard
parent 3872d0a218
commit 46bc534c82
3 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ import kernel32.dll
65 stub InvalidateDriveType
66 stub IsNetDrive
67 stdcall Shell_MergeMenus (long long long long long long) Shell_MergeMenus
68 stdcall SHGetSettings(ptr long long) SHGetSettings
68 stdcall SHGetSettings(ptr long) SHGetSettings
69 stub SHGetNetResource
70 stdcall SHCreateDefClassObject(long long long long long)SHCreateDefClassObject
71 stdcall Shell_GetImageList(ptr ptr) Shell_GetImageList

View File

@ -109,13 +109,13 @@ BOOL WINAPI GetFileNameFromBrowse(
* the registry path are for win98 (tested)
* and possibly are the same in nt40
*/
void WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask, DWORD dwx)
VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask)
{
HKEY hKey;
DWORD dwData;
DWORD dwDataSize = sizeof (DWORD);
TRACE("(%p 0x%08lx 0x%08lx)\n",lpsfs,dwMask, dwx);
TRACE("(%p 0x%08lx)\n",lpsfs,dwMask);
if (RegCreateKeyExA(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
0, 0, 0, KEY_ALL_ACCESS, 0, &hKey, 0))

View File

@ -347,7 +347,7 @@ typedef struct
UINT fRestFlags : 3;
} SHELLFLAGSTATE, * LPSHELLFLAGSTATE;
void WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask, DWORD dwx);
VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask);
#define SSF_SHOWALLOBJECTS 0x0001
#define SSF_SHOWEXTENSIONS 0x0002