Hans Leidekker : qmgr: Implement IBackgroundCopyJobHttpOptions:: SetSecurityFlags and IBackgroundCopyJobHttpOptions::GetSecurityFlags.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 15 08:49:07 CDT 2015


Module: wine
Branch: master
Commit: dcfe6648f877abcaf7f3a9afa6b0a3de30b1cedd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dcfe6648f877abcaf7f3a9afa6b0a3de30b1cedd

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Jun 12 15:05:31 2015 +0200

qmgr: Implement IBackgroundCopyJobHttpOptions::SetSecurityFlags and IBackgroundCopyJobHttpOptions::GetSecurityFlags.

---

 dlls/qmgr/job.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c
index 5cb85ae..8ee6498 100644
--- a/dlls/qmgr/job.c
+++ b/dlls/qmgr/job.c
@@ -992,16 +992,24 @@ static HRESULT WINAPI http_options_SetSecurityFlags(
     IBackgroundCopyJobHttpOptions *iface,
     ULONG Flags)
 {
-    FIXME("\n");
-    return E_NOTIMPL;
+    BackgroundCopyJobImpl *job = impl_from_IBackgroundCopyJobHttpOptions(iface);
+
+    TRACE("(%p)->(0x%08x)\n", iface, Flags);
+
+    job->http_options.flags = Flags;
+    return S_OK;
 }
 
 static HRESULT WINAPI http_options_GetSecurityFlags(
     IBackgroundCopyJobHttpOptions *iface,
     ULONG *pFlags)
 {
-    FIXME("\n");
-    return E_NOTIMPL;
+    BackgroundCopyJobImpl *job = impl_from_IBackgroundCopyJobHttpOptions(iface);
+
+    TRACE("(%p)->(%p)\n", iface, pFlags);
+
+    *pFlags = job->http_options.flags;
+    return S_OK;
 }
 
 static const IBackgroundCopyJobHttpOptionsVtbl http_options_vtbl =




More information about the wine-cvs mailing list