/// <summary> /// Parse the RopIdFromLongTermIdRequest structure. /// </summary> /// <param name="s">An stream containing RopIdFromLongTermIdRequest structure.</param> public override void Parse(Stream s) { base.Parse(s); this.RopId = (RopIdType)ReadByte(); this.LogonId = ReadByte(); this.InputHandleIndex = ReadByte(); this.LongTermId = new LongTermID(); this.LongTermId.Parse(s); }
/// <summary> /// Parse the RopWritePerUserInformationRequest structure. /// </summary> /// <param name="s">An stream containing RopWritePerUserInformationRequest structure.</param> public override void Parse(Stream s) { base.Parse(s); this.RopId = (RopIdType)ReadByte(); this.LogonId = ReadByte(); this.InputHandleIndex = ReadByte(); this.FolderId = new LongTermID(); this.FolderId.Parse(s); this.HasFinished = ReadBoolean(); this.DataOffset = ReadUint(); this.DataSize = ReadUshort(); this.Data = ReadBytes((int)this.DataSize); if (this.DataOffset == 0 && (((byte)DecodingContext.SessionLogonFlagMapLogId[MapiInspector.MAPIInspector.currentParsingSessionID][LogonId] & (byte)LogonFlags.Private) == (byte)LogonFlags.Private)) { this.ReplGuid = ReadGuid(); } }
/// <summary> /// Parse the RopLongTermIdFromIdResponse structure. /// </summary> /// <param name="s">An stream containing RopLongTermIdFromIdResponse 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.LongTermId = new LongTermID(); this.LongTermId.Parse(s); } }
/// <summary> /// Parse the RopReadPerUserInformationRequest structure. /// </summary> /// <param name="s">An stream containing RopReadPerUserInformationRequest structure.</param> public override void Parse(Stream s) { base.Parse(s); this.RopId = (RopIdType)ReadByte(); this.LogonId = ReadByte(); this.InputHandleIndex = ReadByte(); this.FolderId = new LongTermID(); this.FolderId.Parse(s); this.Reserved = ReadByte(); this.DataOffset = ReadUint(); this.MaxDataSize = ReadUshort(); }
/// <summary> /// Parse the LongTermIdRange structure. /// </summary> /// <param name="s">An stream containing LongTermIdRange structure.</param> public override void Parse(Stream s) { base.Parse(s); this.MinLongTermId = new LongTermID(); this.MinLongTermId.Parse(s); this.MaxLongTermId = new LongTermID(); this.MaxLongTermId.Parse(s); }