Пример #1
0
        public int AudioDGChallenge(NtApiDotNet.Ndr.Marshal.NdrInt3264 p0, long p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt3264(p0);
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(1, m);

            return(u.ReadInt32());
        }
Пример #2
0
        public int s_wscRegisterChangeNotification(NtApiDotNet.Ndr.Marshal.NdrInt3264 p0, int p1, int p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt3264(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(1, m);

            p3 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
Пример #3
0
        // async
        public int RPCSplWOW64PrintUIServerPropPages(int p0, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p1, string p2, int p3, NtApiDotNet.Ndr.Marshal.NdrInt3264 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteUInt3264(p1);
            m.WriteReferent(p2, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p3);
            m.WriteInt3264(p4);
            _Unmarshal_Helper u = SendReceive(16, m);

            return(u.ReadInt32());
        }
Пример #4
0
        public int RPCSplWOW64SpoolerPrinterEvent(int p0, string p1, int p2, int p3, NtApiDotNet.Ndr.Marshal.NdrInt3264 p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p5 = u.ReadInt32();
            return(u.ReadInt32());
        }
Пример #5
0
        public int RpcSendWindowMessage(int p0, int p1, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p2, int p3, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p4, NtApiDotNet.Ndr.Marshal.NdrInt3264 p5, byte[] p6, int p7, sbyte p8, out int p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.WriteUInt3264(p2);
            m.WriteInt32(p3);
            m.WriteUInt3264(p4);
            m.WriteInt3264(p5);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"), p7);
            m.WriteInt32(p7);
            m.WriteSByte(p8);
            _Unmarshal_Helper u = SendReceive(1, m);

            p9 = u.ReadInt32();
            return(u.ReadInt32());
        }
Пример #6
0
        public int RpcBroadcastSystemMessage(int p0, int p1, int p2, ref System.Nullable <int> p3, int p4, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p5, NtApiDotNet.Ndr.Marshal.NdrInt3264 p6, byte[] p7, int p8, sbyte p9, out int p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action <int>(m.WriteInt32));
            m.WriteInt32(p4);
            m.WriteUInt3264(p5);
            m.WriteInt3264(p6);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"), p8);
            m.WriteInt32(p8);
            m.WriteSByte(p9);
            _Unmarshal_Helper u = SendReceive(0, m);

            p3  = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), true);
            p10 = u.ReadInt32();
            return(u.ReadInt32());
        }
Пример #7
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEnum16(Member0);
     m.WriteInt3264(Member8);
 }