processing.app.windows
Interface Advapi32
- All Superinterfaces:
- com.sun.jna.AltCallingConvention, com.sun.jna.Library, com.sun.jna.win32.StdCall, com.sun.jna.win32.StdCallLibrary
public interface Advapi32
- extends com.sun.jna.win32.StdCallLibrary
Nested classes/interfaces inherited from interface com.sun.jna.win32.StdCallLibrary |
com.sun.jna.win32.StdCallLibrary.StdCallCallback |
Fields inherited from interface com.sun.jna.win32.StdCallLibrary |
FUNCTION_MAPPER, STDCALL_CONVENTION |
Fields inherited from interface com.sun.jna.Library |
OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER |
Method Summary |
boolean |
ChangeServiceConfig2(com.sun.jna.Pointer hService,
int dwInfoLevel,
Advapi32.ChangeServiceConfig2Info lpInfo)
|
boolean |
CloseServiceHandle(com.sun.jna.Pointer hSCObject)
|
boolean |
ControlService(com.sun.jna.Pointer hService,
int dwControl,
Advapi32.SERVICE_STATUS lpServiceStatus)
|
boolean |
ConvertSidToStringSid(byte[] Sid,
com.sun.jna.ptr.PointerByReference StringSid)
|
boolean |
ConvertStringSidToSid(java.lang.String StringSid,
com.sun.jna.ptr.PointerByReference Sid)
|
com.sun.jna.Pointer |
CreateService(com.sun.jna.Pointer hSCManager,
java.lang.String lpServiceName,
java.lang.String lpDisplayName,
int dwDesiredAccess,
int dwServiceType,
int dwStartType,
int dwErrorControl,
java.lang.String lpBinaryPathName,
java.lang.String lpLoadOrderGroup,
com.sun.jna.ptr.IntByReference lpdwTagId,
java.lang.String lpDependencies,
java.lang.String lpServiceStartName,
java.lang.String lpPassword)
|
boolean |
DeleteService(com.sun.jna.Pointer hService)
|
boolean |
LookupAccountName(java.lang.String lpSystemName,
java.lang.String lpAccountName,
byte[] Sid,
com.sun.jna.ptr.IntByReference cbSid,
char[] ReferencedDomainName,
com.sun.jna.ptr.IntByReference cchReferencedDomainName,
com.sun.jna.ptr.PointerByReference peUse)
|
boolean |
LookupAccountSid(java.lang.String lpSystemName,
byte[] Sid,
char[] lpName,
com.sun.jna.ptr.IntByReference cchName,
char[] ReferencedDomainName,
com.sun.jna.ptr.IntByReference cchReferencedDomainName,
com.sun.jna.ptr.PointerByReference peUse)
|
com.sun.jna.Pointer |
OpenSCManager(java.lang.String lpMachineName,
com.sun.jna.WString lpDatabaseName,
int dwDesiredAccess)
|
com.sun.jna.Pointer |
OpenService(com.sun.jna.Pointer hSCManager,
java.lang.String lpServiceName,
int dwDesiredAccess)
|
int |
RegCloseKey(int hKey)
|
int |
RegCreateKeyEx(int hKey,
java.lang.String lpSubKey,
int Reserved,
java.lang.String lpClass,
int dwOptions,
int samDesired,
WINBASE.SECURITY_ATTRIBUTES lpSecurityAttributes,
com.sun.jna.ptr.IntByReference phkResult,
com.sun.jna.ptr.IntByReference lpdwDisposition)
|
int |
RegDeleteKey(int hKey,
java.lang.String name)
|
int |
RegDeleteValue(int hKey,
java.lang.String lpValueName)
|
int |
RegEnumKeyEx(int hKey,
int dwIndex,
char[] lpName,
com.sun.jna.ptr.IntByReference lpcName,
com.sun.jna.ptr.IntByReference reserved,
char[] lpClass,
com.sun.jna.ptr.IntByReference lpcClass,
WINBASE.FILETIME lpftLastWriteTime)
|
int |
RegEnumValue(int hKey,
int dwIndex,
char[] lpValueName,
com.sun.jna.ptr.IntByReference lpcchValueName,
com.sun.jna.ptr.IntByReference reserved,
com.sun.jna.ptr.IntByReference lpType,
byte[] lpData,
com.sun.jna.ptr.IntByReference lpcbData)
|
com.sun.jna.Pointer |
RegisterServiceCtrlHandler(java.lang.String lpServiceName,
Advapi32.Handler lpHandlerProc)
|
com.sun.jna.Pointer |
RegisterServiceCtrlHandlerEx(java.lang.String lpServiceName,
Advapi32.HandlerEx lpHandlerProc,
com.sun.jna.Pointer lpContext)
|
int |
RegOpenKeyEx(int hKey,
java.lang.String lpSubKey,
int ulOptions,
int samDesired,
com.sun.jna.ptr.IntByReference phkResult)
|
int |
RegQueryValueEx(int hKey,
java.lang.String lpValueName,
com.sun.jna.ptr.IntByReference lpReserved,
com.sun.jna.ptr.IntByReference lpType,
byte[] lpData,
com.sun.jna.ptr.IntByReference lpcbData)
|
int |
RegSetValueEx(int hKey,
java.lang.String lpValueName,
int Reserved,
int dwType,
byte[] lpData,
int cbData)
|
boolean |
SetServiceStatus(com.sun.jna.Pointer hServiceStatus,
Advapi32.SERVICE_STATUS lpServiceStatus)
|
boolean |
StartService(com.sun.jna.Pointer hService,
int dwNumServiceArgs,
char[] lpServiceArgVectors)
|
boolean |
StartServiceCtrlDispatcher(com.sun.jna.Structure[] lpServiceTable)
|
INSTANCE
static final Advapi32 INSTANCE
LookupAccountName
boolean LookupAccountName(java.lang.String lpSystemName,
java.lang.String lpAccountName,
byte[] Sid,
com.sun.jna.ptr.IntByReference cbSid,
char[] ReferencedDomainName,
com.sun.jna.ptr.IntByReference cchReferencedDomainName,
com.sun.jna.ptr.PointerByReference peUse)
LookupAccountSid
boolean LookupAccountSid(java.lang.String lpSystemName,
byte[] Sid,
char[] lpName,
com.sun.jna.ptr.IntByReference cchName,
char[] ReferencedDomainName,
com.sun.jna.ptr.IntByReference cchReferencedDomainName,
com.sun.jna.ptr.PointerByReference peUse)
ConvertSidToStringSid
boolean ConvertSidToStringSid(byte[] Sid,
com.sun.jna.ptr.PointerByReference StringSid)
ConvertStringSidToSid
boolean ConvertStringSidToSid(java.lang.String StringSid,
com.sun.jna.ptr.PointerByReference Sid)
OpenSCManager
com.sun.jna.Pointer OpenSCManager(java.lang.String lpMachineName,
com.sun.jna.WString lpDatabaseName,
int dwDesiredAccess)
CloseServiceHandle
boolean CloseServiceHandle(com.sun.jna.Pointer hSCObject)
OpenService
com.sun.jna.Pointer OpenService(com.sun.jna.Pointer hSCManager,
java.lang.String lpServiceName,
int dwDesiredAccess)
StartService
boolean StartService(com.sun.jna.Pointer hService,
int dwNumServiceArgs,
char[] lpServiceArgVectors)
ControlService
boolean ControlService(com.sun.jna.Pointer hService,
int dwControl,
Advapi32.SERVICE_STATUS lpServiceStatus)
StartServiceCtrlDispatcher
boolean StartServiceCtrlDispatcher(com.sun.jna.Structure[] lpServiceTable)
RegisterServiceCtrlHandler
com.sun.jna.Pointer RegisterServiceCtrlHandler(java.lang.String lpServiceName,
Advapi32.Handler lpHandlerProc)
RegisterServiceCtrlHandlerEx
com.sun.jna.Pointer RegisterServiceCtrlHandlerEx(java.lang.String lpServiceName,
Advapi32.HandlerEx lpHandlerProc,
com.sun.jna.Pointer lpContext)
SetServiceStatus
boolean SetServiceStatus(com.sun.jna.Pointer hServiceStatus,
Advapi32.SERVICE_STATUS lpServiceStatus)
CreateService
com.sun.jna.Pointer CreateService(com.sun.jna.Pointer hSCManager,
java.lang.String lpServiceName,
java.lang.String lpDisplayName,
int dwDesiredAccess,
int dwServiceType,
int dwStartType,
int dwErrorControl,
java.lang.String lpBinaryPathName,
java.lang.String lpLoadOrderGroup,
com.sun.jna.ptr.IntByReference lpdwTagId,
java.lang.String lpDependencies,
java.lang.String lpServiceStartName,
java.lang.String lpPassword)
DeleteService
boolean DeleteService(com.sun.jna.Pointer hService)
ChangeServiceConfig2
boolean ChangeServiceConfig2(com.sun.jna.Pointer hService,
int dwInfoLevel,
Advapi32.ChangeServiceConfig2Info lpInfo)
RegOpenKeyEx
int RegOpenKeyEx(int hKey,
java.lang.String lpSubKey,
int ulOptions,
int samDesired,
com.sun.jna.ptr.IntByReference phkResult)
RegQueryValueEx
int RegQueryValueEx(int hKey,
java.lang.String lpValueName,
com.sun.jna.ptr.IntByReference lpReserved,
com.sun.jna.ptr.IntByReference lpType,
byte[] lpData,
com.sun.jna.ptr.IntByReference lpcbData)
RegCloseKey
int RegCloseKey(int hKey)
RegDeleteValue
int RegDeleteValue(int hKey,
java.lang.String lpValueName)
RegSetValueEx
int RegSetValueEx(int hKey,
java.lang.String lpValueName,
int Reserved,
int dwType,
byte[] lpData,
int cbData)
RegCreateKeyEx
int RegCreateKeyEx(int hKey,
java.lang.String lpSubKey,
int Reserved,
java.lang.String lpClass,
int dwOptions,
int samDesired,
WINBASE.SECURITY_ATTRIBUTES lpSecurityAttributes,
com.sun.jna.ptr.IntByReference phkResult,
com.sun.jna.ptr.IntByReference lpdwDisposition)
RegDeleteKey
int RegDeleteKey(int hKey,
java.lang.String name)
RegEnumKeyEx
int RegEnumKeyEx(int hKey,
int dwIndex,
char[] lpName,
com.sun.jna.ptr.IntByReference lpcName,
com.sun.jna.ptr.IntByReference reserved,
char[] lpClass,
com.sun.jna.ptr.IntByReference lpcClass,
WINBASE.FILETIME lpftLastWriteTime)
RegEnumValue
int RegEnumValue(int hKey,
int dwIndex,
char[] lpValueName,
com.sun.jna.ptr.IntByReference lpcchValueName,
com.sun.jna.ptr.IntByReference reserved,
com.sun.jna.ptr.IntByReference lpType,
byte[] lpData,
com.sun.jna.ptr.IntByReference lpcbData)