private void VerifyRopGetStreamSizeFailureResponse(RopGetStreamSizeResponse ropGetStreamSizeResponse, byte inputHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3296");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3296
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropGetStreamSizeResponse.RopId.GetType(),
3296,
@"[In RopGetStreamSize ROP Failure Response Buffer]RopId (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3298");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3298
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopGetStreamSize,
ropGetStreamSizeResponse.RopId,
3298,
@"[In RopGetStreamSize ROP Failure Response Buffer,RopId (1 byte)]For this operation[RopGetStreamSize], this field is set to 0x5E.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3299");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3299
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropGetStreamSizeResponse.InputHandleIndex.GetType(),
3299,
@"[In RopGetStreamSize ROP Failure Response Buffer]InputHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3300");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3300
Site.CaptureRequirementIfAreEqual<byte>(
inputHandleIndex,
ropGetStreamSizeResponse.InputHandleIndex,
3300,
@"[In RopGetStreamSize 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_R3302");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3302
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropGetStreamSizeResponse.ReturnValue.GetType(),
3302,
@"[In RopGetStreamSize ROP Failure Response Buffer]ReturnValue (4 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3304");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3304
Site.CaptureRequirementIfAreNotEqual<uint>(
SuccessReturnValue,
ropGetStreamSizeResponse.ReturnValue,
3304,
@"[In RopGetStreamSize ROP Failure Response Buffer,ReturnValue (4 bytes)]For this response[Failure Response], this field is set to a value other than 0x00000000.");
}
#endregion