Beispiel #1
0
 public CreateServiceW(Rpc.PolicyHandle scmanager_handle,
                       String service_name,
                       String display_name,
                       int access_mask,
                       int service_type,
                       int start_type,
                       int error_control,
                       String binary_path_name,
                       String load_order_group,
                       NdrLong lpdwTagId,
                       byte[] lpDependencies,
                       int dependency_size,
                       String lpServiceStartName,
                       byte[] password,
                       int password_size,
                       Rpc.PolicyHandle service_handle)
 {
     this.scmanager_handle   = scmanager_handle;
     this.service_name       = service_name;
     this.display_name       = display_name;
     this.access_mask        = access_mask;
     this.service_type       = service_type;
     this.start_type         = start_type;
     this.error_control      = error_control;
     this.binary_path_name   = binary_path_name;
     this.load_order_group   = load_order_group;
     this.lpdwTagId          = lpdwTagId;
     this.lpDependencies     = lpDependencies;
     this.dependency_size    = dependency_size;
     this.lpServiceStartName = lpServiceStartName;
     this.password           = password;
     this.password_size      = password_size;
     this.service_handle     = service_handle;
     this.Ptype = 0;
 }
Beispiel #2
0
 public NetrDfsEnumEx(string dfsName, int level, int prefmaxlen, DfsEnumStruct
                      info, NdrLong totalentries)
 {
     this.DfsName      = dfsName;
     this.Level        = level;
     this.Prefmaxlen   = prefmaxlen;
     this.Info         = info;
     this.Totalentries = totalentries;
 }