internal int ReadStruct(byte[] b, int Offset) { uint method = 4; this.TrEntry(method); int num2 = 0; try { IntPtr zero = IntPtr.Zero; int length = this.GetLength(); zero = Marshal.AllocCoTaskMem(length); Marshal.Copy(b, Offset, zero, length); this.mqapi = (structMQAPI)Marshal.PtrToStructure(zero, typeof(structMQAPI)); Marshal.FreeCoTaskMem(zero); num2 = Offset + length; } finally { base.TrExit(method); } return(num2); }
internal MQAPI() { base.TrConstructor("%Z% %W% %I% %E% %U%"); this.mqapi = new structMQAPI(); }