private void VerifyRopCopyToStreamResponse(RopCopyToStreamResponse ropCopyToStreamResponse, byte sourceHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3379");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3379
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropCopyToStreamResponse.RopId.GetType(),
3379,
@"[In RopCopyToStream ROP Response Buffer]RopId (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3381");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3381
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopCopyToStream,
ropCopyToStreamResponse.RopId,
3381,
@"[In RopCopyToStream ROP Response Buffer,RopId (1 byte)]For this operation[RopCopyToStream], this field is set to 0x3A.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3382");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3382
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropCopyToStreamResponse.SourceHandleIndex.GetType(),
3382,
@"[In RopCopyToStream ROP Response Buffer]SourceHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3383");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3383
Site.CaptureRequirementIfAreEqual<byte>(
sourceHandleIndex,
ropCopyToStreamResponse.SourceHandleIndex,
3383,
@"[In RopCopyToStream ROP Response Buffer,SourceHandleIndex (1 byte)]This index MUST be set to the value specified in the SourceHandleIndex field in the request.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3385");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3385
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropCopyToStreamResponse.ReturnValue.GetType(),
3385,
@"[In RopCopyToStream ROP Response Buffer]ReturnValue (4 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3387");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3387
Site.CaptureRequirementIfAreNotEqual<uint>(
ReturnValueForRopMoveFolderResponseAndMoveCopyMessage,
ropCopyToStreamResponse.ReturnValue,
3387,
@"[In RopCopyToStream ROP Response Buffer,ReturnValue (4 bytes)]For this response[except Null Destination Failure Response ], this field is set to a value other than 0x00000503.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3388");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3388
Site.CaptureRequirementIfAreEqual<Type>(
typeof(ulong),
ropCopyToStreamResponse.ReadByteCount.GetType(),
3388,
@"[In RopCopyToStream ROP Response Buffer]ReadByteCount (8 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3390");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R3390
Site.CaptureRequirementIfAreEqual<Type>(
typeof(ulong),
ropCopyToStreamResponse.WrittenByteCount.GetType(),
3390,
@"[In RopCopyToStream ROP Response Buffer]WrittenByteCount (8 bytes): An unsigned integer.");
}