wbemprox: Add support for WbemAdministrativeLocator.
This commit is contained in:
parent
9e88e81043
commit
163c8f31fd
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue