C# Class winsw.Native.Advapi32

Advapi32.dll wrapper for performing additional service related operations that are not available in WMI.
Mostrar archivo Open project: kohsuke/winsw Class Usage Examples

Private Methods

Method Description
ChangeServiceConfig2 ( IntPtr hService, SERVICE_CONFIG_INFOLEVEL dwInfoLevel, IntPtr lpInfo ) : bool
ChangeServiceConfig2 ( IntPtr hService, SERVICE_CONFIG_INFOLEVEL dwInfoLevel, SERVICE_FAILURE_ACTIONS &sfa ) : bool
CloseServiceHandle ( IntPtr hSCObject ) : bool
FreeSid ( IntPtr pSid ) : void
IsValidSid ( IntPtr pSid ) : bool
LookupAccountName ( string lpSystemName, string lpAccountName, IntPtr psid, int &cbsid, StringBuilder domainName, int &cbdomainLength, int &use ) : bool
LsaAddAccountRights ( IntPtr PolicyHandle, IntPtr AccountSid, LSA_UNICODE_STRING UserRights, uint CountOfRights ) : uint
LsaClose ( IntPtr ObjectHandle ) : uint
LsaNtStatusToWinError ( uint status ) : uint
LsaOpenPolicy ( LSA_UNICODE_STRING &SystemName, LSA_OBJECT_ATTRIBUTES &ObjectAttributes, Int32 DesiredAccess, IntPtr &PolicyHandle ) : UInt32
OpenSCManager ( string machineName, string databaseName, uint dwAccess ) : IntPtr
OpenService ( IntPtr hSCManager, string lpServiceName, uint dwDesiredAccess ) : IntPtr
SetServiceStatus ( IntPtr hServiceStatus, SERVICE_STATUS &lpServiceStatus ) : bool