Esempio n. 1
0
			/// <exception cref="SharpCifs.Dcerpc.Ndr.NdrException"></exception>
			public override void Decode_out(NdrBuffer src)
			{
				src.Dec_ndr_long();
				int infop = src.Dec_ndr_long();
				if (infop != 0)
				{
					if (Info == null)
					{
						Info = new ServerInfo100();
					}
					src = src.Deferred;
					Info.Decode(src);
				}
				Retval = src.Dec_ndr_long();
			}
Esempio n. 2
0
			public LsarQueryInformationPolicy(Rpc.PolicyHandle handle, short level, NdrObject
				 info)
			{
				this.Handle = handle;
				this.Level = level;
				this.Info = info;
			}
Esempio n. 3
0
			public ServerGetInfo(string servername, int level, NdrObject info)
			{
				this.Servername = servername;
				this.Level = level;
				this.Info = info;
			}
Esempio n. 4
0
			/// <exception cref="SharpCifs.Dcerpc.Ndr.NdrException"></exception>
			public override void Decode_out(NdrBuffer src)
			{
				Level = src.Dec_ndr_long();
				src.Dec_ndr_long();
				int infop = src.Dec_ndr_long();
				if (infop != 0)
				{
					if (Info == null)
					{
						Info = new ShareInfoCtr0();
					}
					src = src.Deferred;
					Info.Decode(src);
				}
				Totalentries = src.Dec_ndr_long();
				ResumeHandle = src.Dec_ndr_long();
				Retval = src.Dec_ndr_long();
			}
Esempio n. 5
0
			public ShareEnumAll(string servername, int level, NdrObject info, int prefmaxlen, 
				int totalentries, int resumeHandle)
			{
				this.Servername = servername;
				this.Level = level;
				this.Info = info;
				this.Prefmaxlen = prefmaxlen;
				this.Totalentries = totalentries;
				this.ResumeHandle = resumeHandle;
			}
		public MsrpcQueryInformationPolicy(LsaPolicyHandle policyHandle, short level, NdrObject
			 info) : base(policyHandle, level, info)
		{
			Ptype = 0;
            Flags = DcerpcConstants.DcerpcFirstFrag | DcerpcConstants.DcerpcLastFrag;
		}
Esempio n. 7
0
			/// <exception cref="SharpCifs.Dcerpc.Ndr.NdrException"></exception>
			public override void Decode(NdrBuffer src)
			{
				src.Align(4);
				Level = src.Dec_ndr_long();
				src.Dec_ndr_long();
				int ep = src.Dec_ndr_long();
				if (ep != 0)
				{
					if (E == null)
					{
						E = new DfsEnumArray1();
					}
					src = src.Deferred;
					E.Decode(src);
				}
			}