/// <summary> /// Verify RopAbortSubmit Response /// </summary> /// <param name="ropAbortSubmitResponse">The response of RopAbortSubmit request</param> /// <param name="inputHandleIndex">The field of InputHandleIndex in RopAbortSubmit request</param> private void VerifyRopAbortSubmitResponse(RopAbortSubmitResponse ropAbortSubmitResponse, byte inputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2383"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2383 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropAbortSubmitResponse.RopId.GetType(), 2383, @"[In RopAbortSubmit ROP Response Buffer]RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2385"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2385 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopAbortSubmit, ropAbortSubmitResponse.RopId, 2385, @"[In RopAbortSubmit ROP Response Buffer,RopId (1 byte)]For this operation[RopAbortSubmit], this field is set to 0x34."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2386"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2386 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropAbortSubmitResponse.InputHandleIndex.GetType(), 2386, @"[In RopAbortSubmit ROP Response Buffer]InputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2387"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2387 Site.CaptureRequirementIfAreEqual<byte>( inputHandleIndex, ropAbortSubmitResponse.InputHandleIndex, 2387, @"[In RopAbortSubmit ROP 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_R2389"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2389 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropAbortSubmitResponse.ReturnValue.GetType(), 2389, @"[In RopAbortSubmit ROP Response Buffer]ReturnValue (4 bytes): An unsigned integer."); }