Example #1
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteEmbeddedPointer <Struct_15[], long>(Member8, new System.Action <Struct_15[], long>(m.Write_24), Member0);
 }
Example #2
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <string>(Member0, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEnum16(Member8);
     m.WriteEmbeddedPointer <Struct_5>(Member10, new System.Action <Struct_5>(m.Write_4));
 }
Example #3
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt16(Member0);
     m.WriteInt16(Member2);
     m.WriteEmbeddedPointer <char[], long, long>(Member8, new System.Action <char[], long, long>(m.Write_3), (Member2 / 2), (Member0 / 2));
 }
Example #4
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <Struct_10>(Member0, new System.Action <Struct_10>(m.Write_9));
     m.WriteInt32(Member8);
 }
Example #5
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteEmbeddedPointer <NtApiDotNet.Ndr.Marshal.NdrEnum16[], long>(Member8, new System.Action <NtApiDotNet.Ndr.Marshal.NdrEnum16[], long>(m.Write_10), Member0);
 }
Example #6
0
 private void Marshal(_Marshal_Helper m)
 {
     m.Write_2(Member0);
     m.WriteInt16(Member28);
     m.WriteEmbeddedPointer <Struct_5[], long>(Member30, new System.Action <Struct_5[], long>(m.Write_18), Member28);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member0, "Member0"));
     m.WriteEmbeddedPointer <Struct_2>(Member200, new System.Action <Struct_2>(m.Write_2));
 }
Example #8
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEnum16(Member0);
     m.WriteEmbeddedPointer <sbyte>(Member8, new System.Action <sbyte>(m.WriteSByte));
     m.Write_1(Member10, Member0);
 }
Example #9
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEnum16(Member0);
     m.WriteEmbeddedPointer <Struct_10>(Member8, new System.Action <Struct_10>(m.Write_10));
 }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 1))
            {
                m.WriteEmbeddedPointer <string>(Arm_1, new System.Action <string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteGuid(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.WriteGuid(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_13(Arm_4);
                goto done;
            }
            if ((Selector == 6))
            {
                m.WriteGuid(Arm_6);
                goto done;
            }
            if ((Selector == 5))
            {
                m.WriteGuid(Arm_5);
                goto done;
            }
            if ((Selector == 7))
            {
                m.WriteSByte(Arm_7);
                goto done;
            }
            if ((Selector == 8))
            {
                m.WriteEmbeddedPointer <string>(Arm_8, new System.Action <string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 9))
            {
                m.WriteInt32(Arm_9);
                goto done;
            }
            if ((Selector == 11))
            {
                m.WriteSByte(Arm_11);
                goto done;
            }
            if ((Selector == 12))
            {
                m.WriteGuid(Arm_12);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_13");
done:
            return;
        }
Example #11
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteInt64(Member8);
     m.WriteEmbeddedPointer <sbyte[], long>(Member10, new System.Action <sbyte[], long>(m.Write_18), Member0);
 }
Example #12
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <string, long>(Member0, new System.Action <string, long>(m.Write_8), 65);
     m.WriteEnum16(Member8);
     m.Write_2(Member10, Member8);
 }
Example #13
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <Struct_2>(Member0, new System.Action <Struct_2>(m.Write_2));
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt16(Member0);
     m.WriteInt16(Member2);
     m.WriteEmbeddedPointer <sbyte[], long, long>(Member8, new System.Action <sbyte[], long, long>(m.Write_8), Member2, Member0);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <System.Guid>(Member0, new System.Action <System.Guid>(m.WriteGuid));
     m.WriteSByte(Member8);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteInt32(Member4);
     m.WriteEmbeddedPointer <Struct_3[], long>(Member8, new System.Action <Struct_3[], long>(m.Write_9), NtApiDotNet.Win32.Rpc.RpcUtils.OpBitwiseAnd(NtApiDotNet.Win32.Rpc.RpcUtils.OpPlus(Member0, 1), -2));
 }
Example #17
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <Struct_7>(Member0, new System.Action <Struct_7>(m.Write_6));
     m.WriteSByte(Member8);
 }
Example #18
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteEmbeddedPointer <NtApiDotNet.Ndr.Marshal.NdrUnsupported>(Member8, new System.Action <NtApiDotNet.Ndr.Marshal.NdrUnsupported>(m.Write_8));
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEnum16(Member0);
     m.WriteEmbeddedPointer <byte[], long>(Member8, new System.Action <byte[], long>(m.Write_5), Member10);
     m.WriteInt32(Member10);
 }
Example #20
0
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteSByte(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteInt32(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.WriteInt64(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.WriteEmbeddedPointer <string>(Arm_4, new System.Action <string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 5))
            {
                m.WriteEmbeddedPointer <System.Guid>(Arm_5, new System.Action <System.Guid>(m.WriteGuid));
                goto done;
            }
            if ((Selector == 6))
            {
                m.Write_5(Arm_6);
                goto done;
            }
            if ((Selector == 7))
            {
                m.Write_6(Arm_7);
                goto done;
            }
            if ((Selector == 8))
            {
                m.Write_7(Arm_8);
                goto done;
            }
            if ((Selector == 9))
            {
                m.Write_8(Arm_9);
                goto done;
            }
            if ((Selector == 10))
            {
                m.Write_9(Arm_10);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_4");
done:
            return;
        }
Example #21
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteGuid(Member0);
     m.WriteEmbeddedPointer <Struct_9>(Member10, new System.Action <Struct_9>(m.Write_8));
 }
Example #22
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteSByte(Member0);
     m.WriteSByte(Member1);
     m.WriteEmbeddedPointer <byte[], long>(Member8, new System.Action <byte[], long>(m.Write_19), Member1);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteEmbeddedPointer <Struct_2>(Member8, new System.Action <Struct_2>(m.Write_2));
     m.WriteEmbeddedPointer <Struct_7>(Member10, new System.Action <Struct_7>(m.Write_7));
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <string>(Member0, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <sbyte[], long>(Member8, new System.Action <sbyte[], long>(m.Write_8), Member10);
     m.WriteInt32(Member10);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteInt32(Member4);
     m.WriteEmbeddedPointer <sbyte[], long>(Member8, new System.Action <sbyte[], long>(m.Write_18), NtApiDotNet.Win32.Rpc.RpcUtils.OpPlus(Member4, Member0));
 }
Example #26
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteEmbeddedPointer <string[], long>(Member8, new System.Action <string[], long>(m.Write_25), Member0);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteGuid(Member0);
     m.WriteEmbeddedPointer <Struct_3>(Member10, new System.Action <Struct_3>(m.Write_2));
     m.WriteVaryingAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member18, "Member18"));
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt64(Member0);
     m.WriteEmbeddedPointer <string>(Member8, new System.Action <string>(m.WriteTerminatedString));
 }
Example #29
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <string>(Member0, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member8, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member10, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member18, new System.Action <string>(m.WriteTerminatedString));
     m.WriteInt16(Member20);
     m.WriteInt64(Member28);
     m.WriteInt32(Member30);
     m.WriteInt32(Member34);
     m.WriteInt32(Member38);
     m.WriteInt32(Member3C);
     m.WriteEmbeddedPointer <string>(Member40, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member48, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member50, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member58, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member60, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member68, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <Struct_4>(Member70, new System.Action <Struct_4>(m.Write_3));
     m.WriteEmbeddedPointer <Struct_4>(Member78, new System.Action <Struct_4>(m.Write_3));
 }