Huw Davies : ole32: The server principal name can be the constant COLE_DEFAULT_PRINCIPAL.

Alexandre Julliard julliard at winehq.org
Tue Sep 8 08:55:48 CDT 2009


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Sep  2 15:16:33 2009 +0100

ole32: The server principal name can be the constant COLE_DEFAULT_PRINCIPAL.

---

 dlls/ole32/marshal.c  |    6 +++---
 dlls/ole32/ole32.spec |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c
index 3703de9..a5c4d11 100644
--- a/dlls/ole32/marshal.c
+++ b/dlls/ole32/marshal.c
@@ -553,9 +553,9 @@ static HRESULT WINAPI ProxyCliSec_SetBlanket(IClientSecurity *iface,
                                              void *pAuthInfo,
                                              DWORD Capabilities)
 {
-    FIXME("(%p, %d, %d, %s, %d, %d, %p, 0x%x): stub\n", pProxy, AuthnSvc,
-          AuthzSvc, debugstr_w(pServerPrincName), AuthnLevel, ImpLevel,
-          pAuthInfo, Capabilities);
+    FIXME("(%p, %d, %d, %s, %d, %d, %p, 0x%x): stub\n", pProxy, AuthnSvc, AuthzSvc,
+          pServerPrincName == (OLECHAR*)COLE_DEFAULT_PRINCIPAL ? "<default principal>" : debugstr_w(pServerPrincName),
+          AuthnLevel, ImpLevel, pAuthInfo, Capabilities);
     return E_NOTIMPL;
 }
 
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index 79e7686..273ddba 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -70,7 +70,7 @@
 @ stdcall CoRevokeClassObject(long)
 @ stdcall CoRevokeInitializeSpy(double)
 @ stdcall CoRevokeMallocSpy()
-@ stdcall CoSetProxyBlanket(ptr long long wstr long long ptr long)
+@ stdcall CoSetProxyBlanket(ptr long long ptr long long ptr long)
 @ stdcall CoSetState(ptr)
 @ stdcall CoSuspendClassObjects()
 @ stdcall CoSwitchCallContext(ptr ptr)




More information about the wine-cvs mailing list