Lines Matching defs:newh
114 struct dcesrv_handle *h, *newh;
122 newh = dcesrv_handle_new(dce_call->context, HTYPE_REGKEY);
144 result = reg_key_add_name(newh, key, r->in.name.name, NULL,
145 r->in.secdesc?&sd:NULL, (struct registry_key **)&newh->data);
147 r->out.new_handle = &newh->wire_handle;
149 talloc_free(newh);
394 struct dcesrv_handle *h, *newh;
407 newh = talloc_reference(dce_call->context, h);
410 newh = dcesrv_handle_new(dce_call->context, HTYPE_REGKEY);
411 result = reg_open_key(newh, key, r->in.keyname.name,
412 (struct registry_key **)&newh->data);
416 r->out.handle = &newh->wire_handle;
418 talloc_free(newh);