public MQSPIQueryOut(int version)
 {
     base.TrConstructor("%Z% %W%  %I% %E% %U%", new object[] { version });
     this.spiQueryOutHdr           = new SPIQUERYOUTHDR();
     this.spiQueryOutHdr.ID        = rfpVB_ID_QUERY_OUT;
     this.Version                  = version;
     this.spiQueryOutHdr.arraySize = 12;
     this.verbArray                = new SPIQUERYVERB[this.spiQueryOutHdr.arraySize];
     for (int i = 0; i < this.verbArray.Length; i++)
     {
         SPIQUERYVERB spiqueryverb1 = this.verbArray[i];
     }
 }
        public bool SPISupported(int verbId, ref int maxInOutVersion, ref int maxInVersion, ref int maxOutVersion, ref int flags)
        {
            uint method = 0x29c;

            this.TrEntry(method, new object[] { verbId, (int)maxInOutVersion, (int)maxInVersion, (int)maxOutVersion, (int)flags });
            int  num2   = 0;
            bool result = false;

            do
            {
                SPIQUERYVERB spiqueryverb = this.verbArray[num2++];
                if (spiqueryverb.verbId == verbId)
                {
                    maxInOutVersion = spiqueryverb.maxInOutVersion;
                    maxInVersion    = spiqueryverb.maxInVersion;
                    maxOutVersion   = spiqueryverb.maxOutVersion;
                    flags           = spiqueryverb.flags;
                    result          = true;
                    break;
                }
            }while (!result && (num2 < this.verbArray.Length));
            base.TrExit(method, result);
            return(result);
        }