- corrected parameter count for SHGetSettings

- stub SHValidateUNC
oldstable
Juergen Schmied 1999-04-22 09:18:33 +00:00 committed by Alexandre Julliard
parent 8102f7487d
commit 55c0bcaf5c
3 changed files with 14 additions and 6 deletions

View File

@ -126,15 +126,15 @@ DWORD WINAPI GetFileNameFromBrowse(HWND howner, LPSTR targetbuf, DWORD len, DWOR
* the registry path are for win98 (tested)
* and possibly are the same in nt40
*/
void WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask)
void WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask, DWORD dwx)
{
HKEY hKey;
DWORD dwData;
DWORD dwDataSize = sizeof (DWORD);
TRACE(shell,"(%p,0x%08lx)\n",lpsfs,dwMask);
TRACE(shell,"(%p 0x%08lx 0x%08x)\n",lpsfs,dwMask, dwx);
if (RegCreateKeyExA(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Advanced",
if (RegCreateKeyExA(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
0, 0, 0, KEY_ALL_ACCESS, 0, &hKey, 0))
return;
@ -1113,3 +1113,11 @@ int WINAPI StrToOleStr (LPWSTR lpWideCharStr, LPCSTR lpMultiByteString)
return MultiByteToWideChar(0, 0, lpMultiByteString, -1, lpWideCharStr, MAX_PATH);
}
/************************************************************************
* SHValidateUNC [SHELL32.173]
*
*/
HRESULT SHValidateUNC (DWORD x, DWORD y, DWORD z)
{ FIXME(shell,"0x%08lx 0x%08lx 0x%08x stub\n",x,y,z);
return 0;
}

View File

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

View File

@ -73,7 +73,7 @@ init Shell32LibMain
65 stub InvalidateDriveType
66 stub IsNetDrive
67 stdcall Shell_MergeMenus (long long long long long long) Shell_MergeMenus
68 stdcall SHGetSettings(long long) SHGetSettings
68 stdcall SHGetSettings(ptr long long) SHGetSettings
69 stub SHGetNetResource
70 stub SHCreateDefClassObject
71 stdcall Shell_GetImageList(ptr ptr) Shell_GetImageList
@ -178,7 +178,7 @@ init Shell32LibMain
170 stub SHReplaceFromPropSheetExtArray
171 stub PathCleanupSpec
172 stub SHCreateLinks
173 stub SHValidateUNC
173 stdcall SHValidateUNC(long long long)SHValidateUNC
174 stdcall SHCreateShellFolderViewEx (ptr ptr) SHCreateShellFolderViewEx
175 stdcall SHGetSpecialFolderPath(long long long long) SHGetSpecialFolderPath
176 stdcall SHSetInstanceExplorer (long) SHSetInstanceExplorer