System.ServiceProcess.cs
上传用户:jnxxjx
上传日期:2015-03-08
资源大小:3388k
文件大小:38k
- //$si$ virtual
- ////////////////////////////////////////////////////////////////
- // File System.ServiceProcess.dll:
- // Global functions
- //-------------------------------------------------------
- // Global fields
- //-------------------------------------------------------
- // Global MemberRefs
- //-------------------------------------------------------
- // Types
- //-------------------------------------------------------
- class ThisAssembly : System.Object
- {
- String Title;
- String Description;
- String DefaultAlias;
- String Copyright;
- String Trademark;
- String Version;
- String InformationalVersion;
- Void ThisAssembly();
- }
- class AssemblyRef : System.Object
- {
- String EcmaPublicKey;
- String Mscorlib;
- String SystemData;
- String System;
- String SystemRuntimeRemoting;
- String SystemWindowsForms;
- String SystemXml;
- String MicrosoftPublicKey;
- String SystemConfigurationInstall;
- String SystemDesign;
- String SystemDirectoryServices;
- String SystemDrawingDesign;
- String SystemDrawing;
- String SystemEnterpriseServices;
- String SystemManagement;
- String SystemMessaging;
- String SystemRuntimeSerializationFormattersSoap;
- String SystemSecurity;
- String SystemServiceProcess;
- String SystemWeb;
- String SystemWebRegularExpressions;
- String SystemWebServices;
- String MicrosoftVisualStudio;
- String MicrosoftVSDesigner;
- String MicrosoftJScript;
- Void AssemblyRef();
- }
- class System.ServiceProcess.ResDescriptionAttribute : System.ComponentModel.DescriptionAttribute
- {
- Boolean replaced;
- Void System.ServiceProcess.ResDescriptionAttribute( String description);
- String get_Description();
- property Description { get(){} set(){} };
- }
- class System.ServiceProcess.ResCategoryAttribute : System.ComponentModel.CategoryAttribute
- {
- Void System.ServiceProcess.ResCategoryAttribute( String category);
- String GetLocalizedString( String value);
- }
- class System.ServiceProcess.Res : System.Object
- {
- String FileName;
- String ServiceStartedIncorrectly;
- String CallbackHandler;
- String OpenService;
- String StartService;
- String StopService;
- String PauseService;
- String ResumeService;
- String ControlService;
- String ServiceName;
- String ServiceStartType;
- String ServiceDependency;
- String InstallService;
- String InstallError;
- String UserName;
- String UserPassword;
- String ButtonOK;
- String ServiceUsage;
- String ServiceNameTooLongForNt4;
- String DisplayNameTooLong;
- String NoService;
- String NoDisplayName;
- String OpenSC;
- String Timeout;
- String CannotChangeProperties;
- String CannotChangeName;
- String NoServices;
- String NoMachineName;
- String BadMachineName;
- String NoGivenName;
- String CannotStart;
- String NotAService;
- String NoInstaller;
- String UserCanceledInstall;
- String UnattendedCannotPrompt;
- String InvalidParameter;
- String StartSuccessful;
- String StopSuccessful;
- String PauseSuccessful;
- String ContinueSuccessful;
- String InstallSuccessful;
- String UninstallSuccessful;
- String CommandSuccessful;
- String StartFailed;
- String StopFailed;
- String PauseFailed;
- String ContinueFailed;
- String InstallFailed;
- String UninstallFailed;
- String CommandFailed;
- String ErrorNumber;
- String ShutdownOK;
- String ShutdownFailed;
- String PowerEventOK;
- String PowerEventFailed;
- String InstallOK;
- String TryToStop;
- String ServiceRemoving;
- String ServiceRemoved;
- String HelpText;
- String CantStartFromCommandLine;
- String CantStartFromCommandLineTitle;
- String CantRunOnWin9x;
- String CantRunOnWin9xTitle;
- String CantControlOnWin9x;
- String CantInstallOnWin9x;
- String InstallingService;
- String StartingService;
- String SBAutoLog;
- String SBServiceName;
- String SPCanPauseAndContinue;
- String SPCanShutdown;
- String SPCanStop;
- String SPDisplayName;
- String SPDependentServices;
- String SPMachineName;
- String SPServiceName;
- String SPServicesDependedOn;
- String SPStatus;
- String SPServiceType;
- String Label_SetServiceLogin;
- String Label_MissmatchedPasswords;
- Class System.ServiceProcess.Res loader;
- Class System.Resources.ResourceManager resources;
- Void System.ServiceProcess.Res();
- Class System.ServiceProcess.Res GetLoader();
- String GetString( String name, SZArray Object args);
- String GetString( Class System.Globalization.CultureInfo culture, String name, SZArray Object args);
- String GetString( String name);
- String GetString( Class System.Globalization.CultureInfo culture, String name);
- Boolean GetBoolean( String name);
- Boolean GetBoolean( Class System.Globalization.CultureInfo culture, String name);
- Char GetChar( String name);
- Char GetChar( Class System.Globalization.CultureInfo culture, String name);
- UI1 GetByte( String name);
- UI1 GetByte( Class System.Globalization.CultureInfo culture, String name);
- I2 GetShort( String name);
- I2 GetShort( Class System.Globalization.CultureInfo culture, String name);
- I4 GetInt( String name);
- I4 GetInt( Class System.Globalization.CultureInfo culture, String name);
- I8 GetLong( String name);
- I8 GetLong( Class System.Globalization.CultureInfo culture, String name);
- R4 GetFloat( String name);
- R4 GetFloat( Class System.Globalization.CultureInfo culture, String name);
- R8 GetDouble( String name);
- R8 GetDouble( Class System.Globalization.CultureInfo culture, String name);
- Object GetObject( String name);
- Object GetObject( Class System.Globalization.CultureInfo culture, String name);
- Void System.ServiceProcess.Res();
- }
- class System.ExternDll : System.Object
- {
- String Gdiplus;
- String User32;
- String Shfolder;
- String Imm32;
- String Advapi32;
- String Shell32;
- String Kernel32;
- String Comctl32;
- String Oleaut32;
- String Olepro32;
- String Ole32;
- String Gdi32;
- String Comdlg32;
- String Uxtheme;
- String Oleacc;
- String Hhctrl;
- String Winspool;
- String Psapi;
- String Ntdll;
- String Version;
- String Vsassert;
- String Mscoree;
- String Msi;
- String Mqrt;
- String Activeds;
- String Loadperf;
- Void System.ExternDll();
- }
- class System.ServiceProcess.NativeMethods : System.Object
- {
- I4 WM_POWERBROADCAST;
- I4 NO_ERROR;
- I4 BROADCAST_QUERY_DENY;
- I4 PBT_APMBATTERYLOW;
- I4 PBT_APMOEMEVENT;
- I4 PBT_APMPOWERSTATUSCHANGE;
- I4 PBT_APMQUERYSUSPEND;
- I4 PBT_APMQUERYSUSPENDFAILED;
- I4 PBT_APMRESUMEAUTOMATIC;
- I4 PBT_APMRESUMECRITICAL;
- I4 PBT_APMRESUMESUSPEND;
- I4 PBT_APMSUSPEND;
- I4 ERROR_MORE_DATA;
- I4 ERROR_INSUFFICIENT_BUFFER;
- I4 MB_OK;
- I4 MB_OKCANCEL;
- I4 MB_ABORTRETRYIGNORE;
- I4 MB_YESNOCANCEL;
- I4 MB_YESNO;
- I4 MB_RETRYCANCEL;
- I4 MB_ICONHAND;
- I4 MB_ICONQUESTION;
- I4 MB_ICONEXCLAMATION;
- I4 MB_ICONASTERISK;
- I4 MB_USERICON;
- I4 MB_ICONWARNING;
- I4 MB_ICONERROR;
- I4 MB_ICONINFORMATION;
- I4 MB_DEFBUTTON1;
- I4 MB_DEFBUTTON2;
- I4 MB_DEFBUTTON3;
- I4 MB_DEFBUTTON4;
- I4 MB_APPLMODAL;
- I4 MB_SYSTEMMODAL;
- I4 MB_TASKMODAL;
- I4 MB_HELP;
- I4 MB_NOFOCUS;
- I4 MB_SETFOREGROUND;
- I4 MB_DEFAULT_DESKTOP_ONLY;
- I4 MB_TOPMOST;
- I4 MB_RIGHT;
- I4 MB_RTLREADING;
- I4 MB_SERVICE_NOTIFICATION;
- I4 MB_SERVICE_NOTIFICATION_NT3X;
- I4 MB_TYPEMASK;
- I4 MB_ICONMASK;
- I4 MB_DEFMASK;
- I4 MB_MODEMASK;
- I4 MB_MISCMASK;
- I4 STANDARD_RIGHTS_DELETE;
- I4 STANDARD_RIGHTS_REQUIRED;
- I4 SERVICE_NO_CHANGE;
- I4 ACCESS_TYPE_CHANGE_CONFIG;
- I4 ACCESS_TYPE_ENUMERATE_DEPENDENTS;
- I4 ACCESS_TYPE_INTERROGATE;
- I4 ACCESS_TYPE_PAUSE_CONTINUE;
- I4 ACCESS_TYPE_QUERY_CONFIG;
- I4 ACCESS_TYPE_QUERY_STATUS;
- I4 ACCESS_TYPE_START;
- I4 ACCESS_TYPE_STOP;
- I4 ACCESS_TYPE_USER_DEFINED_CONTROL;
- I4 ACCESS_TYPE_ALL;
- I4 ACCEPT_NETBINDCHANGE;
- I4 ACCEPT_PAUSE_CONTINUE;
- I4 ACCEPT_PARAMCHANGE;
- I4 ACCEPT_POWEREVENT;
- I4 ACCEPT_SHUTDOWN;
- I4 ACCEPT_STOP;
- I4 CONTROL_CONTINUE;
- I4 CONTROL_INTERROGATE;
- I4 CONTROL_NETBINDADD;
- I4 CONTROL_NETBINDDISABLE;
- I4 CONTROL_NETBINDENABLE;
- I4 CONTROL_NETBINDREMOVE;
- I4 CONTROL_PARAMCHANGE;
- I4 CONTROL_PAUSE;
- I4 CONTROL_POWEREVENT;
- I4 CONTROL_SHUTDOWN;
- I4 CONTROL_STOP;
- I4 ERROR_CONTROL_CRITICAL;
- I4 ERROR_CONTROL_IGNORE;
- I4 ERROR_CONTROL_NORMAL;
- I4 ERROR_CONTROL_SEVERE;
- I4 SC_MANAGER_CONNECT;
- I4 SC_MANAGER_CREATE_SERVICE;
- I4 SC_MANAGER_ENUMERATE_SERVICE;
- I4 SC_MANAGER_LOCK;
- I4 SC_MANAGER_MODIFY_BOOT_CONFIG;
- I4 SC_MANAGER_QUERY_LOCK_STATUS;
- I4 SC_MANAGER_ALL;
- I4 SC_ENUM_PROCESS_INFO;
- I4 SERVICE_QUERY_CONFIG;
- I4 SERVICE_CHANGE_CONFIG;
- I4 SERVICE_QUERY_STATUS;
- I4 SERVICE_ENUMERATE_DEPENDENTS;
- I4 SERVICE_START;
- I4 SERVICE_STOP;
- I4 SERVICE_PAUSE_CONTINUE;
- I4 SERVICE_INTERROGATE;
- I4 SERVICE_USER_DEFINED_CONTROL;
- I4 SERVICE_ALL_ACCESS;
- I4 SERVICE_TYPE_ADAPTER;
- I4 SERVICE_TYPE_FILE_SYSTEM_DRIVER;
- I4 SERVICE_TYPE_INTERACTIVE_PROCESS;
- I4 SERVICE_TYPE_KERNEL_DRIVER;
- I4 SERVICE_TYPE_RECOGNIZER_DRIVER;
- I4 SERVICE_TYPE_WIN32_OWN_PROCESS;
- I4 SERVICE_TYPE_WIN32_SHARE_PROCESS;
- I4 SERVICE_TYPE_WIN32;
- I4 SERVICE_TYPE_DRIVER;
- I4 SERVICE_TYPE_ALL;
- I4 START_TYPE_AUTO;
- I4 START_TYPE_BOOT;
- I4 START_TYPE_DEMAND;
- I4 START_TYPE_DISABLED;
- I4 START_TYPE_SYSTEM;
- I4 SERVICE_ACTIVE;
- I4 SERVICE_INACTIVE;
- I4 SERVICE_STATE_ALL;
- I4 STATE_CONTINUE_PENDING;
- I4 STATE_PAUSED;
- I4 STATE_PAUSE_PENDING;
- I4 STATE_RUNNING;
- I4 STATE_START_PENDING;
- I4 STATE_STOPPED;
- I4 STATE_STOP_PENDING;
- I4 STATUS_ACTIVE;
- I4 STATUS_INACTIVE;
- I4 STATUS_ALL;
- I4 POLICY_VIEW_LOCAL_INFORMATION;
- I4 POLICY_VIEW_AUDIT_INFORMATION;
- I4 POLICY_GET_PRIVATE_INFORMATION;
- I4 POLICY_TRUST_ADMIN;
- I4 POLICY_CREATE_ACCOUNT;
- I4 POLICY_CREATE_SECRET;
- I4 POLICY_CREATE_PRIVILEGE;
- I4 POLICY_SET_DEFAULT_QUOTA_LIMITS;
- I4 POLICY_SET_AUDIT_REQUIREMENTS;
- I4 POLICY_AUDIT_LOG_ADMIN;
- I4 POLICY_SERVER_ADMIN;
- I4 POLICY_LOOKUP_NAMES;
- I4 POLICY_ALL_ACCESS;
- I4 STATUS_OBJECT_NAME_NOT_FOUND;
- String DATABASE_ACTIVE;
- String DATABASE_FAILED;
- I OpenService( I databaseHandle, String serviceName, I4 access);
- I RegisterServiceCtrlHandler( String serviceName, Class System.Delegate callback);
- I RegisterServiceCtrlHandlerEx( String serviceName, Class System.Delegate callback, I userData);
- Boolean SetServiceStatus( I serviceStatusHandle, Ptr ValueClass SERVICE_STATUS status);
- Boolean StartServiceCtrlDispatcher( I entry);
- I CreateService( I databaseHandle, String serviceName, String displayName, I4 access, I4 serviceType, I4 startType, I4 errorControl, String binaryPath, String loadOrderGroup, I pTagId dependencies, servicesStartName, password);
- Boolean DeleteService( I serviceHandle);
- I4 LsaOpenPolicy( Class LSA_UNICODE_STRING systemName, I pointerObjectAttributes, I4 desiredAccess, ByRef I pointerPolicyHandle);
- I4 LsaAddAccountRights( I policyHandle, SZArray UI1 accountSid, Class LSA_UNICODE_STRING userRights, I4 countOfRights);
- I4 LsaRemoveAccountRights( I policyHandle, SZArray UI1 accountSid, Boolean allRights, Class LSA_UNICODE_STRING userRights, I4 countOfRights);
- I4 LsaEnumerateAccountRights( I policyHandle, SZArray UI1 accountSid, ByRef I pLsaUnicodeStringUserRights, ByRef I4 RightsCount);
- Boolean LookupAccountName( String systemName, String accountName, SZArray UI1 sid, SZArray I4 sidLen, SZArray Char refDomainName, SZArray I4 domNameLen, SZArray I4 sidNameUse);
- Void System.ServiceProcess.NativeMethods();
- Void System.ServiceProcess.NativeMethods();
- }
- class StructFormat : System.Enum
- {
- I4 value__;
- ValueClass StructFormat Ansi;
- ValueClass StructFormat Unicode;
- ValueClass StructFormat Auto;
- }
- class ENUM_SERVICE_STATUS : System.Object
- {
- String serviceName;
- String displayName;
- I4 serviceType;
- I4 currentState;
- I4 controlsAccepted;
- I4 win32ExitCode;
- I4 serviceSpecificExitCode;
- I4 checkPoint;
- I4 waitHint;
- Void ENUM_SERVICE_STATUS();
- }
- class ENUM_SERVICE_STATUS_PROCESS : System.Object
- {
- String serviceName;
- String displayName;
- I4 serviceType;
- I4 currentState;
- I4 controlsAccepted;
- I4 win32ExitCode;
- I4 serviceSpecificExitCode;
- I4 checkPoint;
- I4 waitHint;
- I4 processID;
- I4 serviceFlags;
- Void ENUM_SERVICE_STATUS_PROCESS();
- }
- class SERVICE_STATUS : System.ValueType
- {
- I4 serviceType;
- I4 currentState;
- I4 controlsAccepted;
- I4 win32ExitCode;
- I4 serviceSpecificExitCode;
- I4 checkPoint;
- I4 waitHint;
- }
- class QUERY_SERVICE_CONFIG : System.Object
- {
- I4 dwServiceType;
- I4 dwStartType;
- I4 dwErrorControl;
- Ptr Char lpBinaryPathName;
- Ptr Char lpLoadOrderGroup;
- I4 dwTagId;
- Ptr Char lpDependencies;
- Ptr Char lpServiceStartName;
- Ptr Char lpDisplayName;
- Void QUERY_SERVICE_CONFIG();
- }
- class ENTRY : System.Object
- {
- I name;
- Class System.Delegate callback;
- Void ENTRY();
- }
- class LSA_UNICODE_STRING : System.Object
- {
- I2 length;
- I2 maximumLength;
- String buffer;
- Void LSA_UNICODE_STRING();
- }
- class LSA_UNICODE_STRING_withPointer : System.Object
- {
- I2 length;
- I2 maximumLength;
- I pwstr;
- Void LSA_UNICODE_STRING_withPointer();
- }
- class LSA_OBJECT_ATTRIBUTES : System.Object
- {
- I4 length;
- I4 rootDirectory;
- I4 pointerLsaString;
- I4 attributes;
- I4 pointerSecurityDescriptor;
- I4 pointerSecurityQualityOfService;
- Void LSA_OBJECT_ATTRIBUTES();
- }
- class ServiceMainCallback : System.MulticastDelegate
- {
- Void ServiceMainCallback( Object object, I method);
- Void Invoke( I4 argCount, I argPointer);
- Class System.IAsyncResult BeginInvoke( I4 argCount, I argPointer, Class System.AsyncCallback callback, Object object);
- Void EndInvoke( Class System.IAsyncResult result);
- }
- class ServiceControlCallback : System.MulticastDelegate
- {
- Void ServiceControlCallback( Object object, I method);
- Void Invoke( I4 control);
- Class System.IAsyncResult BeginInvoke( I4 control, Class System.AsyncCallback callback, Object object);
- Void EndInvoke( Class System.IAsyncResult result);
- }
- class ServiceControlCallbackEx : System.MulticastDelegate
- {
- Void ServiceControlCallbackEx( Object object, I method);
- I4 Invoke( I4 control, I4 eventType, I eventData, I eventContext);
- Class System.IAsyncResult BeginInvoke( I4 control, I4 eventType, I eventData, I eventContext, Class System.AsyncCallback callback, Object object);
- I4 EndInvoke( Class System.IAsyncResult result);
- }
- class System.ServiceProcess.PowerBroadcastStatus : System.Enum
- {
- I4 value__;
- ValueClass System.ServiceProcess.PowerBroadcastStatus BatteryLow;
- ValueClass System.ServiceProcess.PowerBroadcastStatus OemEvent;
- ValueClass System.ServiceProcess.PowerBroadcastStatus PowerStatusChange;
- ValueClass System.ServiceProcess.PowerBroadcastStatus QuerySuspend;
- ValueClass System.ServiceProcess.PowerBroadcastStatus QuerySuspendFailed;
- ValueClass System.ServiceProcess.PowerBroadcastStatus ResumeAutomatic;
- ValueClass System.ServiceProcess.PowerBroadcastStatus ResumeCritical;
- ValueClass System.ServiceProcess.PowerBroadcastStatus ResumeSuspend;
- ValueClass System.ServiceProcess.PowerBroadcastStatus Suspend;
- }
- class System.ServiceProcess.SafeNativeMethods : System.Object
- {
- I4 MessageBox( I hWnd, String text, String caption, I4 type);
- I OpenSCManager( String machineName, String databaseName, I4 access);
- Boolean CloseServiceHandle( I handle);
- I4 LsaClose( I objectHandle);
- I4 LsaFreeMemory( I ptr);
- I4 LsaNtStatusToWinError( I4 ntStatus);
- Boolean GetServiceKeyName( I SCMHandle, String displayName, Class System.Text.StringBuilder shortName, ByRef I4 shortNameLength);
- Boolean GetServiceDisplayName( I SCMHandle, String shortName, Class System.Text.StringBuilder displayName, ByRef I4 displayNameLength);
- Void System.ServiceProcess.SafeNativeMethods();
- }
- class System.ServiceProcess.ServiceAccount : System.Enum
- {
- I4 value__;
- ValueClass System.ServiceProcess.ServiceAccount LocalService;
- ValueClass System.ServiceProcess.ServiceAccount NetworkService;
- ValueClass System.ServiceProcess.ServiceAccount LocalSystem;
- ValueClass System.ServiceProcess.ServiceAccount User;
- }
- class System.ServiceProcess.ServiceBase : System.ComponentModel.Component
- {
- I4 MaxNameLength;
- ValueClass SERVICE_STATUS status;
- I statusHandle;
- Class ServiceControlCallback commandCallback;
- Class ServiceControlCallbackEx commandCallbackEx;
- Class ServiceMainCallback mainCallback;
- I handleName;
- Class System.Threading.ManualResetEvent startCompletedSignal;
- I4 acceptedCommands;
- Boolean autoLog;
- String serviceName;
- Class System.Diagnostics.EventLog eventLog;
- Boolean nameFrozen;
- Boolean commandPropsFrozen;
- Boolean disposed;
- Void System.ServiceProcess.ServiceBase();
- Boolean get_AutoLog();
- Void set_AutoLog( Boolean value);
- Boolean get_CanHandlePowerEvent();
- Void set_CanHandlePowerEvent( Boolean value);
- Boolean get_CanPauseAndContinue();
- Void set_CanPauseAndContinue( Boolean value);
- Boolean get_CanShutdown();
- Void set_CanShutdown( Boolean value);
- Boolean get_CanStop();
- Void set_CanStop( Boolean value);
- Class System.Diagnostics.EventLog get_EventLog();
- String get_ServiceName();
- Void set_ServiceName( String value);
- Void Dispose( Boolean disposing);
- Void OnContinue();
- Void OnPause();
- Boolean OnPowerEvent( ValueClass System.ServiceProcess.PowerBroadcastStatus powerStatus);
- Void OnShutdown();
- Void OnStart( SZArray String args);
- Void OnStop();
- Void OnCustomCommand( I4 command);
- Void Run( SZArray Class System.ServiceProcess.ServiceBase services);
- Void Run( Class System.ServiceProcess.ServiceBase service);
- Class ENTRY Initialize( Boolean multipleServices);
- Boolean LateBoundGetUserInteractive();
- Void LateBoundMessageBoxShow( String message, String title);
- I4 ServiceCommandCallbackEx( I4 command, I4 eventType, I eventData, I eventContext);
- Void ServiceCommandCallback( I4 command);
- Void ServiceQueuedMainCallback( Object state);
- Void ServiceMainCallback( I4 argCount, I argPointer);
- property AutoLog { get(){} set(){} };
- property CanHandlePowerEvent { get(){} set(){} };
- property CanPauseAndContinue { get(){} set(){} };
- property CanShutdown { get(){} set(){} };
- property CanStop { get(){} set(){} };
- property EventLog { get(){} set(){} };
- property ServiceName { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceController : System.ComponentModel.Component
- {
- I4 DISPLAYNAMEBUFFERSIZE;
- String machineName;
- String name;
- String displayName;
- String eitherName;
- I4 commandsAccepted;
- ValueClass System.ServiceProcess.ServiceControllerStatus status;
- I serviceManagerHandle;
- Boolean statusGenerated;
- Boolean controlGranted;
- Boolean browseGranted;
- SZArray Class System.ServiceProcess.ServiceController dependentServices;
- SZArray Class System.ServiceProcess.ServiceController servicesDependedOn;
- I4 type;
- Boolean disposed;
- I4 UnknownEnvironment;
- I4 NtEnvironment;
- I4 NonNtEnvironment;
- I4 environment;
- Void System.ServiceProcess.ServiceController();
- Void System.ServiceProcess.ServiceController( String name);
- Void System.ServiceProcess.ServiceController( String name, String machineName);
- Void System.ServiceProcess.ServiceController( String machineName, Class ENUM_SERVICE_STATUS status);
- Void System.ServiceProcess.ServiceController( String machineName, Class ENUM_SERVICE_STATUS_PROCESS status);
- Boolean get_CanPauseAndContinue();
- Boolean get_CanShutdown();
- Boolean get_CanStop();
- String get_DisplayName();
- Void set_DisplayName( String value);
- SZArray Class System.ServiceProcess.ServiceController get_DependentServices();
- String get_MachineName();
- Void set_MachineName( String value);
- String get_ServiceName();
- Void set_ServiceName( String value);
- SZArray Class System.ServiceProcess.ServiceController get_ServicesDependedOn();
- ValueClass System.ServiceProcess.ServiceControllerStatus get_Status();
- ValueClass System.ServiceProcess.ServiceType get_ServiceType();
- Void CheckEnvironment();
- Void Close();
- Class System.ComponentModel.Win32Exception CreateSafeWin32Exception();
- Void Dispose( Boolean disposing);
- Void GenerateStatus();
- Void GenerateNames();
- I GetDataBaseHandle();
- SZArray Class System.ServiceProcess.ServiceController GetDevices();
- SZArray Class System.ServiceProcess.ServiceController GetDevices( String machineName);
- I GetServiceHandle( I4 desiredAccess);
- SZArray Class System.ServiceProcess.ServiceController GetServices();
- SZArray Class System.ServiceProcess.ServiceController GetServices( String machineName);
- SZArray Class ENUM_SERVICE_STATUS_PROCESS GetServicesInGroup( String machineName, String group);
- SZArray Class System.ServiceProcess.ServiceController GetServicesOfType( String machineName, I4 serviceType);
- Void Pause();
- Void Continue();
- Void ExecuteCommand( I4 command);
- Void Refresh();
- Void Start();
- Void Start( SZArray String args);
- Void Stop();
- Boolean ValidServiceName( String serviceName);
- Void WaitForStatus( ValueClass System.ServiceProcess.ServiceControllerStatus desiredStatus);
- Void WaitForStatus( ValueClass System.ServiceProcess.ServiceControllerStatus desiredStatus, ValueClass System.TimeSpan timeout);
- Void System.ServiceProcess.ServiceController();
- property CanPauseAndContinue { get(){} set(){} };
- property CanShutdown { get(){} set(){} };
- property CanStop { get(){} set(){} };
- property DisplayName { get(){} set(){} };
- property DependentServices { get(){} set(){} };
- property MachineName { get(){} set(){} };
- property ServiceName { get(){} set(){} };
- property ServicesDependedOn { get(){} set(){} };
- property Status { get(){} set(){} };
- property ServiceType { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceControllerPermissionAccess : System.Enum
- {
- I4 value__;
- ValueClass System.ServiceProcess.ServiceControllerPermissionAccess None;
- ValueClass System.ServiceProcess.ServiceControllerPermissionAccess Browse;
- ValueClass System.ServiceProcess.ServiceControllerPermissionAccess Control;
- }
- class System.ServiceProcess.ServiceControllerPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute
- {
- String machineName;
- String serviceName;
- ValueClass System.ServiceProcess.ServiceControllerPermissionAccess permissionAccess;
- Void System.ServiceProcess.ServiceControllerPermissionAttribute( ValueClass System.Security.Permissions.SecurityAction action);
- String get_MachineName();
- Void set_MachineName( String value);
- ValueClass System.ServiceProcess.ServiceControllerPermissionAccess get_PermissionAccess();
- Void set_PermissionAccess( ValueClass System.ServiceProcess.ServiceControllerPermissionAccess value);
- String get_ServiceName();
- Void set_ServiceName( String value);
- Class System.Security.IPermission CreatePermission();
- property MachineName { get(){} set(){} };
- property PermissionAccess { get(){} set(){} };
- property ServiceName { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceControllerPermissionEntry : System.Object
- {
- String machineName;
- String serviceName;
- ValueClass System.ServiceProcess.ServiceControllerPermissionAccess permissionAccess;
- Void System.ServiceProcess.ServiceControllerPermissionEntry();
- Void System.ServiceProcess.ServiceControllerPermissionEntry( ValueClass System.ServiceProcess.ServiceControllerPermissionAccess permissionAccess, String machineName, String serviceName);
- Void System.ServiceProcess.ServiceControllerPermissionEntry( Class System.Security.Permissions.ResourcePermissionBaseEntry baseEntry);
- String get_MachineName();
- ValueClass System.ServiceProcess.ServiceControllerPermissionAccess get_PermissionAccess();
- String get_ServiceName();
- Class System.Security.Permissions.ResourcePermissionBaseEntry GetBaseEntry();
- property MachineName { get(){} set(){} };
- property PermissionAccess { get(){} set(){} };
- property ServiceName { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceControllerPermissionEntryCollection : System.Collections.CollectionBase
- {
- Class System.ServiceProcess.ServiceControllerPermission owner;
- Void System.ServiceProcess.ServiceControllerPermissionEntryCollection( Class System.ServiceProcess.ServiceControllerPermission owner, SZArray Class System.Security.Permissions.ResourcePermissionBaseEntry entries);
- Class System.ServiceProcess.ServiceControllerPermissionEntry get_Item( I4 index);
- Void set_Item( I4 index, Class System.ServiceProcess.ServiceControllerPermissionEntry value);
- I4 Add( Class System.ServiceProcess.ServiceControllerPermissionEntry value);
- Void AddRange( SZArray Class System.ServiceProcess.ServiceControllerPermissionEntry value);
- Void AddRange( Class System.ServiceProcess.ServiceControllerPermissionEntryCollection value);
- Boolean Contains( Class System.ServiceProcess.ServiceControllerPermissionEntry value);
- Void CopyTo( SZArray Class System.ServiceProcess.ServiceControllerPermissionEntry array, I4 index);
- I4 IndexOf( Class System.ServiceProcess.ServiceControllerPermissionEntry value);
- Void Insert( I4 index, Class System.ServiceProcess.ServiceControllerPermissionEntry value);
- Void Remove( Class System.ServiceProcess.ServiceControllerPermissionEntry value);
- Void OnClear();
- Void OnInsert( I4 index, Object value);
- Void OnRemove( I4 index, Object value);
- Void OnSet( I4 index, Object oldValue, Object newValue);
- property Item { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceControllerStatus : System.Enum
- {
- I4 value__;
- ValueClass System.ServiceProcess.ServiceControllerStatus ContinuePending;
- ValueClass System.ServiceProcess.ServiceControllerStatus Paused;
- ValueClass System.ServiceProcess.ServiceControllerStatus PausePending;
- ValueClass System.ServiceProcess.ServiceControllerStatus Running;
- ValueClass System.ServiceProcess.ServiceControllerStatus StartPending;
- ValueClass System.ServiceProcess.ServiceControllerStatus Stopped;
- ValueClass System.ServiceProcess.ServiceControllerStatus StopPending;
- }
- class System.ServiceProcess.ServiceInstaller : System.Configuration.Install.ComponentInstaller
- {
- String NetworkServiceName;
- String LocalServiceName;
- Class System.Diagnostics.EventLogInstaller eventLogInstaller;
- String serviceName;
- String displayName;
- SZArray String servicesDependedOn;
- ValueClass System.ServiceProcess.ServiceStartMode startType;
- Boolean environmentChecked;
- Boolean isWin9x;
- Void System.ServiceProcess.ServiceInstaller();
- String get_DisplayName();
- Void set_DisplayName( String value);
- SZArray String get_ServicesDependedOn();
- Void set_ServicesDependedOn( SZArray String value);
- String get_ServiceName();
- Void set_ServiceName( String value);
- ValueClass System.ServiceProcess.ServiceStartMode get_StartType();
- Void set_StartType( ValueClass System.ServiceProcess.ServiceStartMode value);
- Void CheckEnvironment();
- Void CopyFromComponent( Class System.ComponentModel.IComponent component);
- Void Install( Class System.Collections.IDictionary stateSaver);
- Boolean IsEquivalentInstaller( Class System.Configuration.Install.ComponentInstaller otherInstaller);
- Void RemoveService();
- Void Rollback( Class System.Collections.IDictionary savedState);
- Boolean ShouldSerializeServicesDependedOn();
- Void Uninstall( Class System.Collections.IDictionary savedState);
- Boolean ValidateServiceName( String name);
- Void System.ServiceProcess.ServiceInstaller();
- property DisplayName { get(){} set(){} };
- property ServicesDependedOn { get(){} set(){} };
- property ServiceName { get(){} set(){} };
- property StartType { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceProcessDescriptionAttribute : System.ComponentModel.DescriptionAttribute
- {
- Boolean replaced;
- Void System.ServiceProcess.ServiceProcessDescriptionAttribute( String description);
- String get_Description();
- property Description { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceStartMode : System.Enum
- {
- I4 value__;
- ValueClass System.ServiceProcess.ServiceStartMode Manual;
- ValueClass System.ServiceProcess.ServiceStartMode Automatic;
- ValueClass System.ServiceProcess.ServiceStartMode Disabled;
- }
- class System.ServiceProcess.ServiceType : System.Enum
- {
- I4 value__;
- ValueClass System.ServiceProcess.ServiceType Adapter;
- ValueClass System.ServiceProcess.ServiceType FileSystemDriver;
- ValueClass System.ServiceProcess.ServiceType InteractiveProcess;
- ValueClass System.ServiceProcess.ServiceType KernelDriver;
- ValueClass System.ServiceProcess.ServiceType RecognizerDriver;
- ValueClass System.ServiceProcess.ServiceType Win32OwnProcess;
- ValueClass System.ServiceProcess.ServiceType Win32ShareProcess;
- }
- class System.ServiceProcess.TimeoutException : System.SystemException
- {
- Void System.ServiceProcess.TimeoutException();
- Void System.ServiceProcess.TimeoutException( String message);
- Void System.ServiceProcess.TimeoutException( Class System.Runtime.Serialization.SerializationInfo info, ValueClass System.Runtime.Serialization.StreamingContext context);
- }
- class System.ServiceProcess.UnsafeNativeMethods : System.Object
- {
- Boolean ControlService( I serviceHandle, I4 control, Ptr ValueClass SERVICE_STATUS pStatus);
- Boolean ChangeServiceConfig( I serviceHandle, I4 serviceType, I4 startType, I4 errorControl, String binaryPath, String loadOrderGroup, I pTagId, SZArray Char dependencies, String userName, String password displayName);
- Boolean QueryServiceStatus( I serviceHandle, Ptr ValueClass SERVICE_STATUS pStatus);
- Boolean EnumServicesStatus( I databaseHandle, I4 serviceType, I4 serviceState, I status, I4 size, ByRef I4 bytesNeeded, ByRef I4 servicesReturned, ByRef I4 resumeHandle);
- Boolean EnumServicesStatusEx( I databaseHandle, I4 infolevel, I4 serviceType, I4 serviceState, I status, I4 size, ByRef I4 bytesNeeded, ByRef I4 servicesReturned, ByRef I4 resumeHandle, String group);
- I OpenService( I databaseHandle, String serviceName, I4 access);
- Boolean StartService( I serviceHandle, I4 argNum, I argPtrs);
- Boolean EnumDependentServices( I serviceHandle, I4 serviceState, I bufferOfENUM_SERVICE_STATUS, I4 bufSize, ByRef I4 bytesNeeded, ByRef I4 numEnumerated);
- Boolean QueryServiceConfig( I serviceHandle, I query_service_config_ptr, I4 bufferSize, ByRef I4 bytesNeeded);
- Void System.ServiceProcess.UnsafeNativeMethods();
- }
- class System.ServiceProcess.ServiceControllerPermission : System.Security.Permissions.ResourcePermissionBase
- {
- Class System.ServiceProcess.ServiceControllerPermissionEntryCollection innerCollection;
- Void System.ServiceProcess.ServiceControllerPermission();
- Void System.ServiceProcess.ServiceControllerPermission( ValueClass System.Security.Permissions.PermissionState state);
- Void System.ServiceProcess.ServiceControllerPermission( ValueClass System.ServiceProcess.ServiceControllerPermissionAccess permissionAccess, String machineName, String serviceName);
- Void System.ServiceProcess.ServiceControllerPermission( SZArray Class System.ServiceProcess.ServiceControllerPermissionEntry permissionAccessEntries);
- Class System.ServiceProcess.ServiceControllerPermissionEntryCollection get_PermissionEntries();
- Void AddPermissionAccess( Class System.ServiceProcess.ServiceControllerPermissionEntry entry);
- Void Clear();
- Void RemovePermissionAccess( Class System.ServiceProcess.ServiceControllerPermissionEntry entry);
- Void SetNames();
- property PermissionEntries { get(){} set(){} };
- }
- class System.ServiceProcess.ServiceProcessInstaller : System.Configuration.Install.ComponentInstaller
- {
- ValueClass System.ServiceProcess.ServiceAccount serviceAccount;
- Boolean haveLoginInfo;
- String password;
- String username;
- Boolean helpPrinted;
- String get_HelpText();
- String get_Password();
- Void set_Password( String value);
- ValueClass System.ServiceProcess.ServiceAccount get_Account();
- Void set_Account( ValueClass System.ServiceProcess.ServiceAccount value);
- String get_Username();
- Void set_Username( String value);
- Boolean AccountHasRight( I policyHandle, SZArray UI1 accountSid, String rightName);
- Void CopyFromComponent( Class System.ComponentModel.IComponent comp);
- SZArray UI1 GetAccountSid( String accountName);
- Void GetLoginInfo();
- Void GrantAccountRight( I policyHandle, SZArray UI1 accountSid, String rightName);
- Void Install( Class System.Collections.IDictionary stateSaver);
- I OpenSecurityPolicy();
- Void RemoveAccountRight( I policyHandle, SZArray UI1 accountSid, String rightName);
- Void Rollback( Class System.Collections.IDictionary savedState);
- Void System.ServiceProcess.ServiceProcessInstaller();
- Void System.ServiceProcess.ServiceProcessInstaller();
- property HelpText { get(){} set(){} };
- property Password { get(){} set(){} };
- property Account { get(){} set(){} };
- property Username { get(){} set(){} };
- }
- class System.ServiceProcess.Design.ServiceInstallerDialogResult : System.Enum
- {
- I4 value__;
- ValueClass System.ServiceProcess.Design.ServiceInstallerDialogResult OK;
- ValueClass System.ServiceProcess.Design.ServiceInstallerDialogResult UseSystem;
- ValueClass System.ServiceProcess.Design.ServiceInstallerDialogResult Canceled;
- }
- class System.ServiceProcess.Design.ServiceInstallerDialog : System.Windows.Forms.Form
- {
- Class System.Windows.Forms.Button okButton;
- Class System.Windows.Forms.TextBox passwordEdit;
- Class System.Windows.Forms.Button cancelButton;
- Class System.Windows.Forms.TextBox confirmPassword;
- Class System.Windows.Forms.TextBox usernameEdit;
- Class System.Windows.Forms.Label label1;
- Class System.Windows.Forms.Label label2;
- Class System.Windows.Forms.Label label3;
- ValueClass System.ServiceProcess.Design.ServiceInstallerDialogResult result;
- Void System.ServiceProcess.Design.ServiceInstallerDialog();
- String get_Password();
- Void set_Password( String value);
- ValueClass System.ServiceProcess.Design.ServiceInstallerDialogResult get_Result();
- String get_Username();
- Void set_Username( String value);
- Void Main();
- Void InitializeComponent();
- Void cancelButton_Click( Object sender, Class System.EventArgs e);
- Void okButton_Click( Object sender, Class System.EventArgs e);
- property Password { get(){} set(){} };
- property Result { get(){} set(){} };
- property Username { get(){} set(){} };
- }
- class System.ServiceProcess.Design.ServiceNameConverter : System.ComponentModel.TypeConverter
- {
- Class StandardValuesCollection values;
- String previousMachineName;
- Boolean CanConvertFrom( Class System.ComponentModel.ITypeDescriptorContext context, Class System.Type sourceType);
- Object ConvertFrom( Class System.ComponentModel.ITypeDescriptorContext context, Class System.Globalization.CultureInfo culture, Object value);
- Class StandardValuesCollection GetStandardValues( Class System.ComponentModel.ITypeDescriptorContext context);
- Boolean GetStandardValuesExclusive( Class System.ComponentModel.ITypeDescriptorContext context);
- Boolean GetStandardValuesSupported( Class System.ComponentModel.ITypeDescriptorContext context);
- Void System.ServiceProcess.Design.ServiceNameConverter();
- }
- class System.HResults : System.Object
- {
- I4 License;
- I4 Configuration;
- I4 Sql;
- I4 InternalBufferOverflow;
- I4 ServiceControllerTimeout;
- I4 Install;
- I4 Data;
- I4 DataDeletedRowInaccessible;
- I4 DataDuplicateName;
- I4 DataInRowChangingEvent;
- I4 DataInvalidConstraint;
- I4 DataMissingPrimaryKey;
- I4 DataNoNullAllowed;
- I4 DataReadOnly;
- I4 DataRowNotInTable;
- I4 DataVersionNotFound;
- I4 DataConstraint;
- I4 StrongTyping;
- I4 Xml;
- I4 XmlSchema;
- I4 XmlXslt;
- I4 XmlXPath;
- I4 EFail;
- Void System.HResults();
- }