mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Remove unused marshalling for NTSVCS_HW_PROFILE_FLAGS.
Guenther
(This used to be commit ddb3838be1
)
This commit is contained in:
parent
1ce176c2b9
commit
7b5d9af374
@ -85,25 +85,4 @@ typedef struct {
|
||||
WERROR status;
|
||||
} NTSVCS_R_GET_HW_PROFILE_INFO;
|
||||
|
||||
|
||||
/**************************/
|
||||
|
||||
typedef struct {
|
||||
uint32 unknown1;
|
||||
UNISTR2 devicepath;
|
||||
uint32 unknown2;
|
||||
uint32 unknown3;
|
||||
uint32 unknown4;
|
||||
uint32 unknown5;
|
||||
uint32 unknown6;
|
||||
uint32 unknown7;
|
||||
} NTSVCS_Q_HW_PROFILE_FLAGS;
|
||||
|
||||
typedef struct {
|
||||
uint32 unknown1;
|
||||
uint32 unknown2;
|
||||
uint32 unknown3;
|
||||
WERROR status;
|
||||
} NTSVCS_R_HW_PROFILE_FLAGS;
|
||||
|
||||
#endif /* _RPC_NTSVCS_H */
|
||||
|
@ -218,76 +218,3 @@ bool ntsvcs_io_r_get_hw_profile_info(const char *desc, NTSVCS_R_GET_HW_PROFILE_I
|
||||
|
||||
return True;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
********************************************************************/
|
||||
|
||||
bool ntsvcs_io_q_hw_profile_flags(const char *desc, NTSVCS_Q_HW_PROFILE_FLAGS *q_u, prs_struct *ps, int depth)
|
||||
{
|
||||
if (q_u == NULL)
|
||||
return False;
|
||||
|
||||
prs_debug(ps, depth, desc, "ntsvcs_io_q_hw_profile_flags");
|
||||
depth++;
|
||||
|
||||
if(!prs_align(ps))
|
||||
return False;
|
||||
|
||||
if ( !prs_uint32("unknown1", ps, depth, &q_u->unknown1) )
|
||||
return False;
|
||||
|
||||
|
||||
if ( !prs_io_unistr2("devicepath", ps, depth, &q_u->devicepath) )
|
||||
return False;
|
||||
if( !prs_align(ps) )
|
||||
return False;
|
||||
|
||||
if ( !prs_uint32("unknown2", ps, depth, &q_u->unknown2) )
|
||||
return False;
|
||||
if ( !prs_uint32("unknown3", ps, depth, &q_u->unknown3) )
|
||||
return False;
|
||||
if ( !prs_uint32("unknown4", ps, depth, &q_u->unknown4) )
|
||||
return False;
|
||||
if ( !prs_uint32("unknown5", ps, depth, &q_u->unknown5) )
|
||||
return False;
|
||||
if ( !prs_uint32("unknown6", ps, depth, &q_u->unknown6) )
|
||||
return False;
|
||||
if ( !prs_uint32("unknown7", ps, depth, &q_u->unknown7) )
|
||||
return False;
|
||||
|
||||
if ( !prs_uint32("unknown1", ps, depth, &q_u->unknown1) )
|
||||
return False;
|
||||
|
||||
return True;
|
||||
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
********************************************************************/
|
||||
|
||||
bool ntsvcs_io_r_hw_profile_flags(const char *desc, NTSVCS_R_HW_PROFILE_FLAGS *r_u, prs_struct *ps, int depth)
|
||||
{
|
||||
if ( !r_u )
|
||||
return False;
|
||||
|
||||
prs_debug(ps, depth, desc, "ntsvcs_io_r_hw_profile_flags");
|
||||
depth++;
|
||||
|
||||
if ( !prs_align(ps) )
|
||||
return False;
|
||||
|
||||
if ( !prs_uint32("unknown1", ps, depth, &r_u->unknown1) )
|
||||
return False;
|
||||
if ( !prs_uint32("unknown2", ps, depth, &r_u->unknown2) )
|
||||
return False;
|
||||
if ( !prs_uint32("unknown3", ps, depth, &r_u->unknown3) )
|
||||
return False;
|
||||
if(!prs_werror("status", ps, depth, &r_u->status))
|
||||
return False;
|
||||
|
||||
return True;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user