internal NdrSimpleStructureWithPointersTypeReference(NdrParseContext context, BinaryReader reader)
     : base(context, NdrFormatCharacter.FC_PSTRUCT, reader)
 {
     // Read out FC_PP type.
     reader.ReadByte();
     PointerInfo = new NdrPointerInfoTypeReference(context, reader);
     ReadMemberInfo(context, reader);
 }
Ejemplo n.º 2
0
        internal void ReadElementType(NdrParseContext context, BinaryReader reader)
        {
            NdrBaseTypeReference type = Read(context, reader);

            if (type is NdrPointerInfoTypeReference pointer_layout)
            {
                PointerLayout = pointer_layout;
                ElementType   = Read(context, reader);
            }
            else
            {
                ElementType = type;
            }
        }