Rob Shearman : ole32: Intialise some out parameters in ProxyCliSec_QueryBlanket.

Alexandre Julliard julliard at winehq.org
Thu Nov 15 07:45:03 CST 2007


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Nov 14 17:23:24 2007 +0000

ole32: Intialise some out parameters in ProxyCliSec_QueryBlanket.

---

 dlls/ole32/marshal.c |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c
index d918347..fcfbd64 100644
--- a/dlls/ole32/marshal.c
+++ b/dlls/ole32/marshal.c
@@ -511,15 +511,31 @@ static HRESULT WINAPI ProxyCliSec_QueryBlanket(IClientSecurity *iface,
                                                IUnknown *pProxy,
                                                DWORD *pAuthnSvc,
                                                DWORD *pAuthzSvc,
-                                               OLECHAR **pServerPrincName,
+                                               OLECHAR **ppServerPrincName,
                                                DWORD *pAuthnLevel,
                                                DWORD *pImpLevel,
                                                void **pAuthInfo,
                                                DWORD *pCapabilities)
 {
     FIXME("(%p, %p, %p, %p, %p, %p, %p, %p): stub\n", pProxy, pAuthnSvc,
-          pAuthzSvc, pServerPrincName, pAuthnLevel, pImpLevel, pAuthInfo,
+          pAuthzSvc, ppServerPrincName, pAuthnLevel, pImpLevel, pAuthInfo,
           pCapabilities);
+
+    if (pAuthnSvc)
+        *pAuthnSvc = 0;
+    if (pAuthzSvc)
+        *pAuthzSvc = 0;
+    if (ppServerPrincName)
+        *ppServerPrincName = NULL;
+    if (pAuthnLevel)
+        *pAuthnLevel = RPC_C_AUTHN_LEVEL_DEFAULT;
+    if (pImpLevel)
+        *pImpLevel = RPC_C_IMP_LEVEL_DEFAULT;
+    if (pAuthInfo)
+        *pAuthInfo = NULL;
+    if (pCapabilities)
+        *pCapabilities = EOAC_NONE;
+
     return E_NOTIMPL;
 }
 




More information about the wine-cvs mailing list