mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Fixed incorrect arg count in SHGetSettings that causes winzip32.exe to
report an error.
This commit is contained in:
parent
3872d0a218
commit
46bc534c82
@ -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
|
||||
|
@ -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))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user