shdocvw: Add a stub for ImportPrivacySettings.
This commit is contained in:
parent
dd7a45be7c
commit
0fda52b8d7
|
@ -120,7 +120,7 @@
|
||||||
@ stub HlinkFrameNavigateNHL
|
@ stub HlinkFrameNavigateNHL
|
||||||
@ stub IEAboutBox
|
@ stub IEAboutBox
|
||||||
@ stub IEWriteErrorLog
|
@ stub IEWriteErrorLog
|
||||||
@ stub ImportPrivacySettings
|
@ stdcall ImportPrivacySettings(wstr ptr ptr)
|
||||||
@ stub InstallReg_RunDLL
|
@ stub InstallReg_RunDLL
|
||||||
@ stdcall OpenURL(long long str long)
|
@ stdcall OpenURL(long long str long)
|
||||||
@ stub SHGetIDispatchForFolder
|
@ stub SHGetIDispatchForFolder
|
||||||
|
|
|
@ -461,3 +461,35 @@ DWORD WINAPI SHRestricted2A(DWORD restriction, LPCSTR url, DWORD reserved)
|
||||||
heap_free(urlW);
|
heap_free(urlW);
|
||||||
return res;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -84,6 +84,7 @@ int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
|
||||||
BOOL WINAPI IsUserAnAdmin(void);
|
BOOL WINAPI IsUserAnAdmin(void);
|
||||||
UINT WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG);
|
UINT WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG);
|
||||||
BOOL WINAPI Shell_GetImageLists(HIMAGELIST*,HIMAGELIST*);
|
BOOL WINAPI Shell_GetImageLists(HIMAGELIST*,HIMAGELIST*);
|
||||||
|
BOOL WINAPI ImportPrivacySettings(LPCWSTR, BOOL*, BOOL*);
|
||||||
|
|
||||||
#define KF_FLAG_SIMPLE_IDLIST 0x00000100
|
#define KF_FLAG_SIMPLE_IDLIST 0x00000100
|
||||||
#define KF_FLAG_NOT_PARENT_RELATIVE 0x00000200
|
#define KF_FLAG_NOT_PARENT_RELATIVE 0x00000200
|
||||||
|
|
Loading…
Reference in New Issue