Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0fda52b8
Commit
0fda52b8
authored
Oct 24, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Add a stub for ImportPrivacySettings.
parent
dd7a45be
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
1 deletion
+34
-1
shdocvw.spec
dlls/shdocvw/shdocvw.spec
+1
-1
shdocvw_main.c
dlls/shdocvw/shdocvw_main.c
+32
-0
shlobj.h
include/shlobj.h
+1
-0
No files found.
dlls/shdocvw/shdocvw.spec
View file @
0fda52b8
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
@ stub HlinkFrameNavigateNHL
@ stub HlinkFrameNavigateNHL
@ stub IEAboutBox
@ stub IEAboutBox
@ stub IEWriteErrorLog
@ stub IEWriteErrorLog
@ st
ub ImportPrivacySettings
@ st
dcall 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
...
...
dlls/shdocvw/shdocvw_main.c
View file @
0fda52b8
...
@@ -461,3 +461,35 @@ DWORD WINAPI SHRestricted2A(DWORD restriction, LPCSTR url, DWORD reserved)
...
@@ -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
;
}
include/shlobj.h
View file @
0fda52b8
...
@@ -84,6 +84,7 @@ int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment