Commit 163c8f31 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Add support for WbemAdministrativeLocator.

parent 9e88e810
......@@ -27,11 +27,12 @@
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "initguid.h"
#include "wbemcli.h"
#include "wbemprov.h"
#include "winsock2.h"
#include "iphlpapi.h"
#include "tlhelp32.h"
#include "initguid.h"
#include "d3d10.h"
#include "winternl.h"
#include "winioctl.h"
......
......@@ -27,6 +27,7 @@
#include "winbase.h"
#include "objbase.h"
#include "wbemcli.h"
#include "wbemprov.h"
#include "rpcproxy.h"
#include "wbemprox_private.h"
......@@ -140,7 +141,8 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);
if (IsEqualGUID( rclsid, &CLSID_WbemLocator ))
if (IsEqualGUID( rclsid, &CLSID_WbemLocator ) ||
IsEqualGUID( rclsid, &CLSID_WbemAdministrativeLocator ))
{
cf = &wbem_locator_cf.IClassFactory_iface;
}
......
......@@ -23,7 +23,6 @@
#include "windef.h"
#include "winbase.h"
#include "initguid.h"
#include "objbase.h"
#include "wbemcli.h"
......
......@@ -24,3 +24,10 @@
uuid(4590f811-1d3a-11d0-891f-00aa004b2e24)
]
coclass WbemLocator { interface IWbemLocator; }
[
helpstring("WBEM Administrative Locator"),
threading(both),
uuid(cb8555cc-9128-11d1-ad9b-00c04fd8fdff)
]
coclass WbemAdministrativeLocator { interface IWbemLocator; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment