int argc,
const char **argv)
{
+ struct dcerpc_binding_handle *b = cli->binding_handle;
NTSTATUS status;
WERROR werr;
uint16_t version;
- status = rpccli_PNP_GetVersion(cli, mem_ctx,
+ status = dcerpc_PNP_GetVersion(b, mem_ctx,
&version, &werr);
if (!NT_STATUS_IS_OK(status)) {
return ntstatus_to_werror(status);
int argc,
const char **argv)
{
+ struct dcerpc_binding_handle *b = cli->binding_handle;
NTSTATUS status;
WERROR werr;
const char *devicepath = NULL;
flags = atoi(argv[2]);
}
- status = rpccli_PNP_ValidateDeviceInstance(cli, mem_ctx,
+ status = dcerpc_PNP_ValidateDeviceInstance(b, mem_ctx,
devicepath,
flags,
&werr);
int argc,
const char **argv)
{
+ struct dcerpc_binding_handle *b = cli->binding_handle;
NTSTATUS status;
WERROR werr;
const char *devicepath = NULL;
devicepath = argv[1];
- status = rpccli_PNP_HwProfFlags(cli, mem_ctx,
+ status = dcerpc_PNP_HwProfFlags(b, mem_ctx,
0,
devicepath,
0,
int argc,
const char **argv)
{
+ struct dcerpc_binding_handle *b = cli->binding_handle;
NTSTATUS status;
WERROR werr;
uint32_t idx = 0;
ZERO_STRUCT(info);
- status = rpccli_PNP_GetHwProfInfo(cli, mem_ctx,
+ status = dcerpc_PNP_GetHwProfInfo(b, mem_ctx,
idx,
&info,
size,
int argc,
const char **argv)
{
+ struct dcerpc_binding_handle *b = cli->binding_handle;
NTSTATUS status;
WERROR werr;
const char *devicepath = NULL;
buffer = talloc_array(mem_ctx, uint8_t, buffer_size);
W_ERROR_HAVE_NO_MEMORY(buffer);
- status = rpccli_PNP_GetDeviceRegProp(cli, mem_ctx,
+ status = dcerpc_PNP_GetDeviceRegProp(b, mem_ctx,
devicepath,
property,
®_data_type,
int argc,
const char **argv)
{
+ struct dcerpc_binding_handle *b = cli->binding_handle;
NTSTATUS status;
WERROR werr;
uint32_t size = 0;
flags = atoi(argv[2]);
}
- status = rpccli_PNP_GetDeviceListSize(cli, mem_ctx,
+ status = dcerpc_PNP_GetDeviceListSize(b, mem_ctx,
filter,
&size,
flags,
int argc,
const char **argv)
{
+ struct dcerpc_binding_handle *b = cli->binding_handle;
NTSTATUS status;
WERROR werr;
const char *filter = NULL;
return WERR_NOMEM;
}
- status = rpccli_PNP_GetDeviceList(cli, mem_ctx,
+ status = dcerpc_PNP_GetDeviceList(b, mem_ctx,
filter,
buffer,
&length,