shdocvw: Add a stub for ImportPrivacySettings.

This commit is contained in:
Detlef Riekenberg 2010-10-24 15:31:09 +02:00 committed by Alexandre Julliard
parent dd7a45be7c
commit 0fda52b8d7
3 changed files with 34 additions and 1 deletions

View File

@ -120,7 +120,7 @@
@ stub HlinkFrameNavigateNHL
@ stub IEAboutBox
@ stub IEWriteErrorLog
@ stub ImportPrivacySettings
@ stdcall ImportPrivacySettings(wstr ptr ptr)
@ stub InstallReg_RunDLL
@ stdcall OpenURL(long long str long)
@ stub SHGetIDispatchForFolder

View File

@ -461,3 +461,35 @@ DWORD WINAPI SHRestricted2A(DWORD restriction, LPCSTR url, DWORD reserved)
heap_free(urlW);
return res;
}
/******************************************************************
* ImportPrivacySettings (SHDOCVW.@)
*
* Import global and/or per site privacy preferences from an xml file
*
* PARAMS
* filename [I] XML file to use
* pGlobalPrefs [IO] PTR to a usage flag for the global privacy preferences
* pPerSitePrefs [IO] PTR to a usage flag for the per site privacy preferences
*
* RETURNS
* Success: TRUE (the privacy preferences where updated)
* Failure: FALSE (the privacy preferences are unchanged)
*
* NOTES
* Set the flag to TRUE, when the related privacy preferences in the xml file
* should be used (parsed and overwrite the current settings).
* On return, the flag is TRUE, when the related privacy settings where used
*
*/
BOOL WINAPI ImportPrivacySettings(LPCWSTR filename, BOOL *pGlobalPrefs, BOOL * pPerSitePrefs)
{
FIXME("(%s, %p->%d, %p->%d): stub\n", debugstr_w(filename),
pGlobalPrefs, pGlobalPrefs ? *pGlobalPrefs : 0,
pPerSitePrefs, pPerSitePrefs ? *pPerSitePrefs : 0);
if (pGlobalPrefs) *pGlobalPrefs = FALSE;
if (pPerSitePrefs) *pPerSitePrefs = FALSE;
return TRUE;
}

View File

@ -84,6 +84,7 @@ int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
BOOL WINAPI IsUserAnAdmin(void);
UINT WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG);
BOOL WINAPI Shell_GetImageLists(HIMAGELIST*,HIMAGELIST*);
BOOL WINAPI ImportPrivacySettings(LPCWSTR, BOOL*, BOOL*);
#define KF_FLAG_SIMPLE_IDLIST 0x00000100
#define KF_FLAG_NOT_PARENT_RELATIVE 0x00000200