From 33abd94d35338b64588ee9ebeae52642b419dfe9 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Wed, 14 Nov 2007 17:23:24 +0000 Subject: [PATCH] ole32: Intialise some out parameters in ProxyCliSec_QueryBlanket. --- dlls/ole32/marshal.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c index d9183473be3..fcfbd648a31 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; } -- 2.11.4.GIT