private void Marshal(_Marshal_Helper m)
        {
            m.WriteUInt16(Selector);
            if ((Selector == 1))
            {
                m.WriteInt32(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteDouble(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.WriteDouble(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_3(Arm_4);
                goto done;
            }
            if ((Selector == 0))
            {
                m.WriteEmpty(Arm_0);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_7");
done:
            return;
        }
Пример #2
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEnum16(Member0);
     m.WriteDouble(Member8);
     m.WriteDouble(Member10);
     m.WriteDouble(Member18);
     m.WriteDouble(Member20);
     m.WriteDouble(Member28);
 }
Пример #3
0
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteUInt32(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt64(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteEmbeddedPointer <string>(Arm_2, new System.Action <string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_8(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.WriteDouble(Arm_4);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_7");
done:
            return;
        }
Пример #4
0
        public int DeManagementRpcServerStartNightLightTransition(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, float p1, double p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteFloat(p1);
            m.WriteDouble(p2);
            _Unmarshal_Helper u = SendReceive(5, m);

            return(u.ReadInt32());
        }
Пример #5
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteDouble(Member0);
     m.WriteDouble(Member8);
     m.WriteDouble(Member10);
     m.WriteDouble(Member18);
     m.WriteDouble(Member20);
     m.WriteDouble(Member28);
     m.WriteDouble(Member30);
     m.WriteDouble(Member38);
     m.WriteDouble(Member40);
     m.WriteDouble(Member48);
     m.WriteDouble(Member50);
     m.WriteDouble(Member58);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteDouble(Member0);
     m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member8, "Member8"));
 }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 0))
            {
                m.WriteSByte(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt16(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteInt16(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.WriteInt32(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.WriteInt32(Arm_4);
                goto done;
            }
            if ((Selector == 5))
            {
                m.WriteDouble(Arm_5);
                goto done;
            }
            if ((Selector == 6))
            {
                m.WriteGuid(Arm_6);
                goto done;
            }
            if ((Selector == 7))
            {
                m.WriteEmbeddedPointer <string>(Arm_7, new System.Action <string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 8))
            {
                m.Write_8(Arm_8);
                goto done;
            }
            if ((Selector == 10))
            {
                m.Write_8(Arm_10);
                goto done;
            }
            if ((Selector == 11))
            {
                m.WriteEmbeddedPointer <Struct_10>(Arm_11, new System.Action <Struct_10>(m.Write_9));
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_8");
done:
            return;
        }