Module: wine Branch: master Commit: 0ceee481fe16ac6f731f4cb13717d5b404bb3147 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ceee481fe16ac6f731f4cb137...
Author: Hans Leidekker hans@codeweavers.com Date: Thu Jun 28 09:24:42 2012 +0200
wbemprox: Support IClientSecurity on the class enumerator object;.
---
dlls/wbemprox/class.c | 5 +++++ dlls/wbemprox/services.c | 2 +- dlls/wbemprox/wbemprox_private.h | 2 ++ 3 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/wbemprox/class.c b/dlls/wbemprox/class.c index bb2c5e6..f32ee35 100644 --- a/dlls/wbemprox/class.c +++ b/dlls/wbemprox/class.c @@ -80,6 +80,11 @@ static HRESULT WINAPI enum_class_object_QueryInterface( { *ppvObject = ec; } + else if ( IsEqualGUID( riid, &IID_IClientSecurity ) ) + { + *ppvObject = &client_security; + return S_OK; + } else { FIXME("interface %s not implemented\n", debugstr_guid(riid)); diff --git a/dlls/wbemprox/services.c b/dlls/wbemprox/services.c index 05a9811..2e8a34a 100644 --- a/dlls/wbemprox/services.c +++ b/dlls/wbemprox/services.c @@ -130,7 +130,7 @@ static const IClientSecurityVtbl client_security_vtbl = client_security_CopyProxy };
-static IClientSecurity client_security = { &client_security_vtbl }; +IClientSecurity client_security = { &client_security_vtbl };
struct wbem_services { diff --git a/dlls/wbemprox/wbemprox_private.h b/dlls/wbemprox/wbemprox_private.h index db3cb3a..6865ddd 100644 --- a/dlls/wbemprox/wbemprox_private.h +++ b/dlls/wbemprox/wbemprox_private.h @@ -19,6 +19,8 @@ #include "wine/list.h" #include "wine/unicode.h"
+IClientSecurity client_security; + #define SIZEOF(array) (sizeof(array)/sizeof((array)[0]))
#define COL_TYPE_MASK 0x0000ffff