/* IDL typedef struct { IDL long is_locked, IDL  char *lock_owner, IDL long lock_duration, IDL };  */
static int svcctl_dissect_QUERY_SERVICE_LOCK_STATUS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
/* IDL typedef struct { IDL long is_locked, IDL  char *lock_owner, IDL long lock_duration, IDL };  */
static int svcctl_dissect_QUERY_SERVICE_LOCK_STATUS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
{
	offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep,
				    hf_svcctl_is_locked, NULL);
	offset = dissect_ndr_pointer(
		tvb, offset, pinfo, tree, di, drep,
		dissect_ndr_char_cvstring, NDR_POINTER_UNIQUE,
		"Owner", hf_svcctl_lock_owner);
	offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep,
				    hf_svcctl_lock_duration, NULL);
	return offset;
}