mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Fix compilation issues in the WMI code.
This commit is contained in:
parent
e1deb404eb
commit
22cd65b16f
@ -1,4 +1,5 @@
|
||||
[SUBSYSTEM::WMI]
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PUBLIC_DEPENDENCIES = RPC_NDR_OXIDRESOLVER \
|
||||
NDR_DCOM \
|
||||
RPC_NDR_REMACT \
|
||||
@ -6,12 +7,11 @@ PUBLIC_DEPENDENCIES = RPC_NDR_OXIDRESOLVER \
|
||||
DCOM_PROXY_DCOM \
|
||||
DCOM
|
||||
|
||||
WMI_OBJ_FILES = $(addprefix lib/wmi/, wmicore.o wbemdata.o ../librpc/gen_ndr/dcom_p.o)
|
||||
WMI_OBJ_FILES = $(addprefix lib/wmi/, wmicore.o wbemdata.o ../../librpc/gen_ndr/dcom_p.o)
|
||||
|
||||
#################################
|
||||
# Start BINARY wmic
|
||||
[BINARY::wmic]
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
INSTALLDIR = BINDIR
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
POPT_SAMBA \
|
||||
@ -34,10 +34,7 @@ PRIVATE_DEPENDENCIES = \
|
||||
WMI
|
||||
|
||||
wmis_OBJ_FILES = \
|
||||
wmis.o \
|
||||
wmicore.o \
|
||||
wbemdata.o \
|
||||
../librpc/gen_ndr/dcom_p.o
|
||||
lib/wmi/tools/wmis.o
|
||||
|
||||
# End BINARY wmis
|
||||
#################################
|
||||
|
@ -29,16 +29,14 @@
|
||||
#include "librpc/gen_ndr/ndr_remact_c.h"
|
||||
#include "librpc/gen_ndr/ndr_epmapper_c.h"
|
||||
#include "librpc/gen_ndr/com_dcom.h"
|
||||
#include "librpc/rpc/dcerpc_table.h"
|
||||
|
||||
#include "lib/com/dcom/dcom.h"
|
||||
#include "lib/com/proto.h"
|
||||
#include "lib/com/dcom/proto.h"
|
||||
#include "librpc/gen_ndr/com_wmi.h"
|
||||
#include "librpc/ndr/ndr_table.h"
|
||||
|
||||
struct WBEMCLASS;
|
||||
struct WBEMOBJECT;
|
||||
enum CIMTYPE_ENUMERATION;
|
||||
NTSTATUS dcom_proxy_IWbemClassObject_init();
|
||||
|
||||
#include "wmi/proto.h"
|
||||
|
||||
@ -188,7 +186,7 @@ int main(int argc, char **argv)
|
||||
parse_args(argc, argv, &args);
|
||||
|
||||
dcerpc_init();
|
||||
dcerpc_table_init();
|
||||
ndr_table_init();
|
||||
|
||||
dcom_proxy_IUnknown_init();
|
||||
dcom_proxy_IWbemLevel1Login_init();
|
||||
|
@ -673,7 +673,7 @@ struct composite_context *dcom_proxy_IEnumWbemClassObject_Release_send(struct IU
|
||||
return c;
|
||||
}
|
||||
|
||||
NTSTATUS dcom_proxy_IWbemClassObject_init()
|
||||
NTSTATUS dcom_proxy_IWbemClassObject_init(void)
|
||||
{
|
||||
struct GUID clsid;
|
||||
GUID_from_string("4590f812-1d3a-11d0-891f-00aa004b2e24", &clsid);
|
||||
|
Loading…
Reference in New Issue
Block a user