private void VerifyRopGetSearchCriteriaFailureResponse(RopGetSearchCriteriaResponse ropGetSearchCriteriaResponse, byte inputHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R743");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R743
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropGetSearchCriteriaResponse.RopId.GetType(),
743,
@"[In RopGetSearchCriteria ROP Failure Response Buffer] RopId (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R745");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R745
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopGetSearchCriteria,
ropGetSearchCriteriaResponse.RopId,
745,
@"[In RopGetSearchCriteria ROP Failure Response Buffer] RopId (1 byte): For this operation[RopGetSearchCriteria], this field[RopId (1 byte)] is set to 0x31.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R746");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R746
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropGetSearchCriteriaResponse.InputHandleIndex.GetType(),
746,
@"[In RopGetSearchCriteria ROP Failure Response Buffer] InputHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R747");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R747
Site.CaptureRequirementIfAreEqual<byte>(
inputHandleIndex,
ropGetSearchCriteriaResponse.InputHandleIndex,
747,
@"[In RopGetSearchCriteria ROP Failure Response Buffer] InputHandleIndex (1 byte): This index MUST be set to the value specified in the InputHandleIndex field in the request.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R748");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R748
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropGetSearchCriteriaResponse.ReturnValue.GetType(),
748,
@"[In RopGetSearchCriteria ROP Failure Response Buffer] ReturnValue (4 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R750");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R750
Site.CaptureRequirementIfAreNotEqual<uint>(
SuccessReturnValue,
ropGetSearchCriteriaResponse.ReturnValue,
750,
@"[In RopGetSearchCriteria ROP Failure Response Buffer] ReturnValue (4 bytes): For this response[Failure Response], this field[ReturnValue (4 bytes)] is set to a value other than 0x00000000.");
}
#endregion