/* IDL long NetrLogonControl2( IDL  wchar_t *logonserver, IDL  long function_code, IDL  long level, IDL  CONTROL_DATA_INFORMATION *data, IDL  CONTROL_QUERY_INFORMATION *query IDL );  */
static int netlogon_dissect_netrlogoncontrol2_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
/* IDL long NetrLogonControl2( IDL  wchar_t *logonserver, IDL  long function_code, IDL  long level, IDL  CONTROL_DATA_INFORMATION *data, IDL  CONTROL_QUERY_INFORMATION *query IDL );  */
static int netlogon_dissect_netrlogoncontrol2_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
{
    offset = netlogon_dissect_LOGONSRV_HANDLE(tvb, offset,
                                              pinfo, tree, di, drep);
    offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep,
                                hf_netlogon_code, NULL);
    offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep,
                                hf_netlogon_level, NULL);
    offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, di, drep,
                                 netlogon_dissect_CONTROL_DATA_INFORMATION, NDR_POINTER_REF,
                                 "CONTROL_DATA_INFORMATION: ", -1);
    return offset;
}