public uint PrivGetPsmToken(int p0, int p1, string p2, string p3, out NtApiDotNet.NtToken p4, out int p5)
        {
            NdrMarshalBuffer m = new NdrMarshalBuffer();

            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.WriteTerminatedString(RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(RpcUtils.CheckNull(p3, "p3"));
            var resp             = SendReceive(21, m.DataRepresentation, m.ToArray(), m.Handles);
            NdrUnmarshalBuffer u = new NdrUnmarshalBuffer(resp.NdrBuffer, resp.Handles, resp.DataRepresentation);

            p4 = u.ReadSystemHandle <NtApiDotNet.NtToken>();
            p5 = u.ReadInt32();
            return(u.ReadUInt32());
        }
 void INdrStructure.Marshal(NdrMarshalBuffer marshal)
 {
     RpcUtils.CheckNull(Data, "Data");
     marshal.WriteInt32(Data.Length);
     marshal.WriteConformantByteArray(Data, Data.Length);
 }