コード例 #1
0
 /// <summary>
 /// Parse the RopGetMessageStatusResponse structure.
 /// </summary>
 /// <param name="s">An stream containing RopGetMessageStatusResponse structure</param>
 public override void Parse(Stream s)
 {
     base.Parse(s);
     this.RopId = (RopIdType)ReadByte();
     this.InputHandleIndex = ReadByte();
     HelpMethod help = new HelpMethod();
     this.ReturnValue = help.FormatErrorCode(ReadUint());
     if ((ErrorCodes)ReturnValue == ErrorCodes.Success)
     {
         this.MessageStatusFlags = (MessageStatusFlag)ReadUint();
     }
 }
コード例 #2
0
 /// <summary>
 /// Parse the RopSetMessageStatusRequest structure.
 /// </summary>
 /// <param name="s">An stream containing RopSetMessageStatusRequest structure</param>
 public override void Parse(Stream s)
 {
     base.Parse(s);
     this.RopId = (RopIdType)ReadByte();
     this.LogonId = ReadByte();
     this.InputHandleIndex = ReadByte();
     this.MessageId = new MessageID();
     this.MessageId.Parse(s);
     this.MessageStatusFlags = (MessageStatusFlag)ReadUint();
     this.MessageStatusMask = ReadUint();
 }