private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 0))
            {
                Arm_0 = u.Read_7();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_7();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_8();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_9();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_7();
     Member8  = u.Read_7();
     Member10 = u.Read_7();
     Member18 = u.ReadInt32();
     Member1C = u.ReadInt32();
     Member20 = u.ReadInt32();
     Member28 = u.Read_7();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadGuid();
     Member10 = u.Read_7();
     Member18 = u.Read_7();
     Member20 = u.Read_7();
     Member28 = u.ReadInt32();
     Member30 = u.Read_7();
     Member38 = u.ReadInt32();
     Member3C = u.Read_4();
 }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_4();
                goto done;
            }
            if ((Selector == 10))
            {
                Arm_10 = u.Read_4();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.Read_6();
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.Read_7();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.Read_8();
                goto done;
            }
            if ((Selector == 8))
            {
                Arm_8 = u.Read_7();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_3");
done:
            return;
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.ReadInt32();
     Member4   = u.ReadInt32();
     Member8   = u.ReadInt32();
     MemberC   = u.ReadInt32();
     Member10  = u.ReadInt32();
     Member14  = u.Read_7();
     Member214 = u.Read_7();
     Member414 = u.Read_7();
     Member614 = u.Read_7();
     Member814 = u.Read_7();
     MemberA14 = u.Read_1();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadGuid();
     Member18 = u.Read_7();
     Member20 = u.ReadUInt3264();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadByte();
     Member1 = u.ReadByte();
     Member2 = u.Read_4();
     Member8 = u.Read_7();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member8  = u.ReadInt64();
     Member10 = u.ReadInt32();
     Member14 = u.Read_7();
 }
Example #9
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.ReadGuid();
     Member10  = u.ReadGuid();
     Member20  = u.Read_21();
     Member220 = u.ReadInt64();
     Member228 = u.Read_7();
 }
Example #10
0
        public uint RBiPtSrvQuerySystemStateBroadcastChannels(out Struct_8 p0)
        {
            _Marshal_Helper   m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(18, m);

            p0 = u.Read_7();
            return(u.ReadUInt32());
        }
Example #11
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadGuid();
     Member10 = u.ReadGuid();
     Member20 = u.Read_7();
     Member28 = u.ReadEnum16();
     Member30 = u.Read_11();
 }
Example #12
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_7();
     Member22  = u.Read_4();
     Member124 = u.Read_4();
     Member228 = u.ReadInt32();
     Member230 = u.ReadEmbeddedPointer <Struct_1>(new System.Func <Struct_1>(u.Read_1), false);
 }
Example #13
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.ReadInt32();
     MemberC  = u.Read_7();
     Member10 = u.ReadGuid();
     Member20 = u.ReadInt32();
     Member28 = u.ReadEmbeddedPointer <Struct_9>(new System.Func <Struct_9>(u.Read_8), false);
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_7();
     Member8  = u.Read_7();
     Member10 = u.Read_7();
     Member18 = u.ReadInt32();
     Member1C = u.ReadInt32();
     Member20 = u.ReadInt32();
     Member28 = u.Read_7();
     Member30 = u.ReadInt32();
     Member34 = u.ReadInt32();
     Member38 = u.ReadInt32();
     Member3C = u.ReadInt32();
     Member40 = u.ReadInt32();
     Member44 = u.ReadInt32();
     Member48 = u.ReadInt32();
     Member4C = u.ReadInt32();
     Member50 = u.ReadInt32();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.ReadGuid();
     Member10  = u.ReadGuid();
     Member20  = u.Read_7();
     Member220 = u.ReadEnum16();
     Member224 = u.ReadEnum16();
     Member228 = u.ReadInt32();
     Member22C = u.ReadEnum16();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_1();
     MemberC   = u.Read_2();
     Member48  = u.Read_3();
     MemberD8  = u.Read_7();
     MemberE8  = u.Read_11();
     Member160 = u.Read_13();
     Member164 = u.Read_14();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_5();
     MemberC  = u.ReadInt32();
     Member10 = u.ReadInt32();
     Member14 = u.ReadInt32();
     Member18 = u.Read_7();
     Member34 = u.Read_6();
     Member3C = u.ReadInt32();
     Member40 = u.ReadInt32();
 }
        public uint GetManagedApps(System.Nullable <Struct_3> p0, int p1, int p2, out Struct_7 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <Struct_3>(m.Write_3));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(6, m);

            p3 = u.Read_7();
            return(u.ReadUInt32());
        }
        public int UtcEventTranscriptApi_FetchDiagnosticsStats(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string[] p1, int p2, out Struct_8 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteReferent(p1, new System.Action <string[], long>(m.Write_18), p2);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(13, m);

            p3 = u.Read_7();
            return(u.ReadInt32());
        }
        public int DummyAddRefISCMActivator_2(Struct_0 p0, Struct_5 p1, out Struct_7 p2, out Struct_8 p3, int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.Write_4(p1);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(2, m);

            p2 = u.Read_6();
            p3 = u.Read_7();
            return(u.ReadInt32());
        }
        public int PhoneSvcImpl_PhoneRpcGetRecordingApplications(out int p0, out int p1, out string p2, int p3, out Struct_8 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(27, m);

            p0 = u.ReadInt32();
            p1 = u.ReadInt32();
            p2 = u.ReadConformantVaryingString();
            p4 = u.Read_7();
            return(u.ReadInt32());
        }
Example #22
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 0))
            {
                Arm_0 = u.Read_7();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_7();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.Read_8();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_7");
done:
            return;
        }
        public int RpcSrvRequestParams(string p0, Struct_0 p1, System.Nullable <Struct_1> p2, int p3, Struct_5 p4, out Struct_7 p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <string>(m.WriteTerminatedString));
            m.Write_0(p1);
            m.WriteReferent(p2, new System.Action <Struct_1>(m.Write_1));
            m.WriteInt32(p3);
            m.Write_5(p4);
            _Unmarshal_Helper u = SendReceive(5, m);

            p5 = u.Read_7();
            return(u.ReadInt32());
        }
        public int PsmSrvQueryCurrentApplications(string p0, string p1, int p2, out int p3, out Struct_0[] p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p1, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(0, m);

            p3 = u.ReadInt32();
            p4 = u.Read_7();
            p5 = u.ReadInt32();
            return(u.ReadInt32());
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.Read_7();
     Member4A = u.Read_8();
     Member6E = u.Read_9();
     Member98 = u.ReadInt64();
     MemberA0 = u.ReadInt64();
     MemberA8 = u.ReadInt64();
     MemberB0 = u.ReadInt64();
     MemberB8 = u.ReadInt32();
     MemberC0 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_10), false);
 }
Example #26
0
        public int GcsSrv_GetGameProperty(System.Guid p0, int p1, ref int p2, ref byte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p2));
            _Unmarshal_Helper u = SendReceive(13, m);

            p2 = u.ReadInt32();
            p3 = u.Read_7();
            return(u.ReadInt32());
        }
        public int SCMActivatorGetClassObject(Struct_0 p0, Struct_5 p1, out Struct_7 p2, out Struct_8 p3, System.Nullable <Struct_9> p4, out System.Nullable <Struct_9> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.Write_4(p1);
            m.WriteReferent(p4, new System.Action <Struct_9>(m.Write_8));
            _Unmarshal_Helper u = SendReceive(3, m);

            p2 = u.Read_6();
            p3 = u.Read_7();
            p5 = u.ReadReferentValue <Struct_9>(new System.Func <Struct_9>(u.Read_8), false);
            return(u.ReadInt32());
        }
        public int SCMActivatorCreateInstance(Struct_0 p0, Struct_5 p1, out Struct_8 p2, out Struct_9 p3, System.Nullable <Struct_15> p4, System.Nullable <Struct_15> p5, out System.Nullable <Struct_15> p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.Write_4(p1);
            m.WriteReferent(p4, new System.Action <Struct_15>(m.Write_14));
            m.WriteReferent(p5, new System.Action <Struct_15>(m.Write_14));
            _Unmarshal_Helper u = SendReceive(4, m);

            p2 = u.Read_7();
            p3 = u.Read_8();
            p6 = u.ReadReferentValue <Struct_15>(new System.Func <Struct_15>(u.Read_14), false);
            return(u.ReadInt32());
        }
        public int s_AuthzrAccessCheck(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, Struct_4 p2, int p3, Struct_7[] p4, ref Struct_8 p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_4(p2);
            m.WriteInt32(p3);
            m.Write_29(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            m.Write_7(p5);
            _Unmarshal_Helper u = SendReceive(3, m);

            p5 = u.Read_7();
            return(u.ReadInt32());
        }
        public int RpcNsiEnumerateObjectsAllParameters(Struct_0 p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, ref Struct_8 p3, ref Struct_9 p4, ref int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.WriteEnum16(p1);
            m.WriteEnum16(p2);
            m.Write_7(p3);
            m.Write_8(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(2, m);

            p3 = u.Read_7();
            p4 = u.Read_8();
            p5 = u.ReadInt32();
            return(u.ReadInt32());
        }