summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/rpc_wkssvc.c
blob: 0549a3512816e634ab0da218c74305c250d9684e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* dcerpc client calls auto-generated by pidl */

#include "includes.h"


NTSTATUS dcerpc_wks_QueryInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct wks_QueryInfo *r)
{
	NTSTATUS status;
	status = dcerpc_ndr_request(p, DCERPC_WKS_QUERYINFO, mem_ctx,
				    (ndr_push_fn_t) ndr_push_wks_QueryInfo,
				    (ndr_pull_fn_t) ndr_pull_wks_QueryInfo,
				    r);
	if (!NT_STATUS_IS_OK(status)) {
		return status;
	}
	
	return r->out.result;
}