ReactOS 0.4.15-dev-7924-g5949c20
svcctl Interface Reference

Public Member Functions

DWORD __stdcall RCloseServiceHandle ([in, out] LPSC_RPC_HANDLE hSCObject)
 
DWORD __stdcall RControlService ([in] SC_RPC_HANDLE hService, [in] DWORD dwControl, [out] LPSERVICE_STATUS lpServiceStatus)
 
DWORD __stdcall RDeleteService ([in] SC_RPC_HANDLE hService)
 
DWORD __stdcall RLockServiceDatabase ([in] SC_RPC_HANDLE hSCManager, [out] LPSC_RPC_LOCK lpLock)
 
DWORD __stdcall RQueryServiceObjectSecurity ([in] SC_RPC_HANDLE hService, [in] SECURITY_INFORMATION dwSecurityInformation, [out, size_is(cbBufSize)] LPBYTE lpSecurityDescriptor, [in, range(0, 1024 *256)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded)
 
DWORD __stdcall RSetServiceObjectSecurity ([in] SC_RPC_HANDLE hService, [in] DWORD dwSecurityInformation, [in, size_is(dwSecuityDescriptorSize)] LPBYTE lpSecurityDescriptor, [in] DWORD dwSecuityDescriptorSize)
 
DWORD __stdcall RQueryServiceStatus ([in] SC_RPC_HANDLE hService, [out] LPSERVICE_STATUS lpServiceStatus)
 
DWORD __stdcall RSetServiceStatus ([in] RPC_SERVICE_STATUS_HANDLE hServiceStatus, [in] LPSERVICE_STATUS lpServiceStatus)
 
DWORD __stdcall RUnlockServiceDatabase ([in, out] LPSC_RPC_LOCK Lock)
 
DWORD __stdcall RNotifyBootConfigStatus ([in, string, unique] SVCCTL_HANDLEW lpMachineName, [in] DWORD BootAcceptable)
 
DWORD __stdcall RI_ScSetServiceBitsW ([in] RPC_SERVICE_STATUS_HANDLE hServiceStatus, [in] DWORD dwServiceBits, [in] BOOL bSetBitsOn, [in] BOOL bUpdateImmediately, [in, string, unique] LPWSTR lpString)
 
DWORD __stdcall RChangeServiceConfigW ([in] SC_RPC_HANDLE hService, [in] DWORD dwServiceType, [in] DWORD dwStartType, [in] DWORD dwErrorControl, [in, string, unique] LPWSTR lpBinaryPathName, [in, string, unique] LPWSTR lpLoadOrderGroup, [in, out, unique] LPDWORD lpdwTagId, [in, unique, size_is(dwDependSize)] LPBYTE lpDependencies, [in, range(0, SC_MAX_DEPEND_SIZE)] DWORD dwDependSize, [in, string, unique] LPWSTR lpServiceStartName, [in, unique, size_is(dwPwSize)] LPBYTE lpPassword, [in, range(0, SC_MAX_PWD_SIZE)] DWORD dwPwSize, [in, string, unique] LPWSTR lpDisplayName)
 
DWORD __stdcall RCreateServiceW ([in] SC_RPC_HANDLE hSCManager, [in, string] LPCWSTR lpServiceName, [in, string, unique] LPCWSTR lpDisplayName, [in] DWORD dwDesiredAccess, [in] DWORD dwServiceType, [in] DWORD dwStartType, [in] DWORD dwErrorControl, [in, string] LPCWSTR lpBinaryPathName, [in, string, unique] LPCWSTR lpLoadOrderGroup, [in, out, unique] LPDWORD lpdwTagId, [in, unique, size_is(dwDependSize)] LPBYTE lpDependencies, [in, range(0, SC_MAX_DEPEND_SIZE)] DWORD dwDependSize, [in, string, unique] LPCWSTR lpServiceStartName, [in, unique, size_is(dwPwSize)] LPBYTE lpPassword, [in, range(0, SC_MAX_PWD_SIZE)] DWORD dwPwSize, [out] LPSC_RPC_HANDLE lpServiceHandle)
 
DWORD __stdcall REnumDependentServicesW ([in] SC_RPC_HANDLE hService, [in] DWORD dwServiceState, [out, size_is(cbBufSize)] LPBYTE lpServices, [in, range(0, 1024 *256)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded, [out] LPBOUNDED_DWORD_256K lpServicesReturned)
 
DWORD __stdcall REnumServicesStatusW ([in] SC_RPC_HANDLE hSCManager, [in] DWORD dwServiceType, [in] DWORD dwServiceState, [out, size_is(dwBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *256)] DWORD dwBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded, [out] LPBOUNDED_DWORD_256K lpServicesReturned, [in, out, unique] LPBOUNDED_DWORD_256K lpResumeHandle)
 
DWORD __stdcall ROpenSCManagerW ([in, string, unique] SVCCTL_HANDLEW lpMachineName, [in, string, unique] LPWSTR lpDatabaseName, [in] DWORD dwDesiredAccess, [out] LPSC_RPC_HANDLE lpScHandle)
 
DWORD __stdcall ROpenServiceW ([in] SC_RPC_HANDLE hSCManager, [in, string] LPWSTR lpServiceName, [in] DWORD dwDesiredAccess, [out] LPSC_RPC_HANDLE lpServiceHandle)
 
DWORD __stdcall RQueryServiceConfigW ([in] SC_RPC_HANDLE hService, [out, size_is(cbBufSize)] LPBYTE lpServiceConfig, [in, range(0, 1024 *8)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_8K pcbBytesNeeded)
 
DWORD __stdcall RQueryServiceLockStatusW ([in] SC_RPC_HANDLE hSCManager, [out, size_is(cbBufSize)] LPBYTE lpLockStatus, [in, range(0, 1024 *4)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_4K pcbBytesNeeded)
 
DWORD __stdcall RStartServiceW ([in] SC_RPC_HANDLE hService, [in, range(0, SC_MAX_ARGUMENTS)] DWORD argc, [in, unique, size_is(argc)] LPSTRING_PTRSW argv)
 
DWORD __stdcall RGetServiceDisplayNameW ([in] SC_RPC_HANDLE hSCManager, [in, string] LPCWSTR lpServiceName, [out, string, size_is(*lpcchBuffer+1)] LPWSTR lpDisplayName, [in, out] DWORD *lpcchBuffer)
 
DWORD __stdcall RGetServiceKeyNameW ([in] SC_RPC_HANDLE hSCManager, [in, string] LPCWSTR lpDisplayName, [out, string, size_is(*lpcchBuffer+1)] LPWSTR lpServiceName, [in, out] DWORD *lpcchBuffer)
 
DWORD __stdcall RI_ScSetServiceBitsA ([in] RPC_SERVICE_STATUS_HANDLE hServiceStatus, [in] DWORD dwServiceBits, [in] BOOL bSetBitsOn, [in] BOOL bUpdateImmediately, [in, string, unique] LPSTR lpString)
 
DWORD __stdcall RChangeServiceConfigA ([in] SC_RPC_HANDLE hService, [in] DWORD dwServiceType, [in] DWORD dwStartType, [in] DWORD dwErrorControl, [in, string, unique] LPSTR lpBinaryPathName, [in, string, unique] LPSTR lpLoadOrderGroup, [in, out, unique] LPDWORD lpdwTagId, [in, unique, size_is(dwDependSize)] LPBYTE lpDependencies, [in, range(0, SC_MAX_DEPEND_SIZE)] DWORD dwDependSize, [in, string, unique] LPSTR lpServiceStartName, [in, unique, size_is(dwPwSize)] LPBYTE lpPassword, [in, range(0, SC_MAX_PWD_SIZE)] DWORD dwPwSize, [in, string, unique] LPSTR lpDisplayName)
 
DWORD __stdcall RCreateServiceA ([in] SC_RPC_HANDLE hSCManager, [in, string] LPSTR lpServiceName, [in, string, unique] LPSTR lpDisplayName, [in] DWORD dwDesiredAccess, [in] DWORD dwServiceType, [in] DWORD dwStartType, [in] DWORD dwErrorControl, [in, string] LPSTR lpBinaryPathName, [in, string, unique] LPSTR lpLoadOrderGroup, [in, out, unique] LPDWORD lpdwTagId, [in, unique, size_is(dwDependSize)] LPBYTE lpDependencies, [in, range(0, SC_MAX_DEPEND_SIZE)] DWORD dwDependSize, [in, string, unique] LPSTR lpServiceStartName, [in, unique, size_is(dwPwSize)] LPBYTE lpPassword, [in, range(0, SC_MAX_PWD_SIZE)] DWORD dwPwSize, [out] LPSC_RPC_HANDLE lpServiceHandle)
 
DWORD __stdcall REnumDependentServicesA ([in] SC_RPC_HANDLE hService, [in] DWORD dwServiceState, [out, size_is(cbBufSize)] LPBYTE lpServices, [in, range(0, 1024 *256)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded, [out] LPBOUNDED_DWORD_256K lpServicesReturned)
 
DWORD __stdcall REnumServicesStatusA ([in] SC_RPC_HANDLE hSCManager, [in] DWORD dwServiceType, [in] DWORD dwServiceState, [out, size_is(dwBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *256)] DWORD dwBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded, [out] LPBOUNDED_DWORD_256K lpServicesReturned, [in, out, unique] LPBOUNDED_DWORD_256K lpResumeHandle)
 
DWORD __stdcall ROpenSCManagerA ([in, string, unique] SVCCTL_HANDLEA lpMachineName, [in, string, unique] LPSTR lpDatabaseName, [in] DWORD dwDesiredAccess, [out] LPSC_RPC_HANDLE lpScHandle)
 
DWORD __stdcall ROpenServiceA ([in] SC_RPC_HANDLE hSCManager, [in, string] LPSTR lpServiceName, [in] DWORD dwDesiredAccess, [out] LPSC_RPC_HANDLE lpServiceHandle)
 
DWORD __stdcall RQueryServiceConfigA ([in] SC_RPC_HANDLE hService, [out, size_is(cbBufSize)] LPBYTE lpServiceConfig, [in, range(0, 1024 *8)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_8K pcbBytesNeeded)
 
DWORD __stdcall RQueryServiceLockStatusA ([in] SC_RPC_HANDLE hSCManager, [out, size_is(cbBufSize)] LPBYTE lpLockStatus, [in, range(0, 1024 *4)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_4K pcbBytesNeeded)
 
DWORD __stdcall RStartServiceA ([in] SC_RPC_HANDLE hService, [in, range(0, SC_MAX_ARGUMENTS)] DWORD argc, [in, unique, size_is(argc)] LPSTRING_PTRSA argv)
 
DWORD __stdcall RGetServiceDisplayNameA ([in] SC_RPC_HANDLE hSCManager, [in, string] LPCSTR lpServiceName, [out, string, size_is(*lpcchBuffer)] LPSTR lpDisplayName, [in, out] LPBOUNDED_DWORD_4K lpcchBuffer)
 
DWORD __stdcall RGetServiceKeyNameA ([in] SC_RPC_HANDLE hSCManager, [in, string] LPCSTR lpDisplayName, [out, string, size_is(*lpcchBuffer)] LPSTR lpKeyName, [in, out] LPBOUNDED_DWORD_4K lpcchBuffer)
 
DWORD __stdcall RI_ScGetCurrentGroupStateW ([in] SC_RPC_HANDLE hSCManager, [in, string, unique] LPWSTR lpLoadOrderGroup, [out] LPDWORD lpState)
 
DWORD __stdcall REnumServiceGroupW ([in] SC_RPC_HANDLE hSCManager, [in] DWORD dwServiceType, [in] DWORD dwServiceState, [out, size_is(cbBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *256)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded, [out] LPBOUNDED_DWORD_256K lpServicesReturned, [in, out, unique] LPBOUNDED_DWORD_256K lpResumeIndex, [in, string, unique] LPCWSTR pszGroupName)
 
DWORD __stdcall RChangeServiceConfig2A ([in] SC_RPC_HANDLE hService, [in] SC_RPC_CONFIG_INFOA Info)
 
DWORD __stdcall RChangeServiceConfig2W ([in] SC_RPC_HANDLE hService, [in] SC_RPC_CONFIG_INFOW Info)
 
DWORD __stdcall RQueryServiceConfig2A ([in] SC_RPC_HANDLE hService, [in] DWORD dwInfoLevel, [out, size_is(cbBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *8)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_8K pcbBytesNeeded)
 
DWORD __stdcall RQueryServiceConfig2W ([in] SC_RPC_HANDLE hService, [in] DWORD dwInfoLevel, [out, size_is(cbBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *8)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_8K pcbBytesNeeded)
 
DWORD __stdcall RQueryServiceStatusEx ([in] SC_RPC_HANDLE hService, [in] SC_STATUS_TYPE InfoLevel, [out, size_is(cbBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *8)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_8K pcbBytesNeeded)
 
DWORD __stdcall REnumServicesStatusExA ([in] SC_RPC_HANDLE hSCManager, [in] SC_ENUM_TYPE InfoLevel, [in] DWORD dwServiceType, [in] DWORD dwServiceState, [out, size_is(cbBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *256)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded, [out] LPBOUNDED_DWORD_256K lpServicesReturned, [in, out, unique] LPBOUNDED_DWORD_256K lpResumeIndex, [in, string, unique] LPCSTR pszGroupName)
 
DWORD __stdcall REnumServicesStatusExW ([in] SC_RPC_HANDLE hSCManager, [in] SC_ENUM_TYPE InfoLevel, [in] DWORD dwServiceType, [in] DWORD dwServiceState, [out, size_is(cbBufSize)] LPBYTE lpBuffer, [in, range(0, 1024 *256)] DWORD cbBufSize, [out] LPBOUNDED_DWORD_256K pcbBytesNeeded, [out] LPBOUNDED_DWORD_256K lpServicesReturned, [in, out, unique] LPBOUNDED_DWORD_256K lpResumeIndex, [in, string, unique] LPCWSTR pszGroupName)
 
DWORD __stdcall RSendTSMessage ([in] handle_t BindingHandle)
 
DWORD __stdcall RCreateServiceWOW64A ([in] handle_t BindingHandle, [in, string] LPSTR lpServiceName, [in, string, unique] LPSTR lpDisplayName, [in] DWORD dwDesiredAccess, [in] DWORD dwServiceType, [in] DWORD dwStartType, [in] DWORD dwErrorControl, [in, string] LPSTR lpBinaryPathName, [in, string, unique] LPSTR lpLoadOrderGroup, [in, out, unique] LPDWORD lpdwTagId, [in, unique, size_is(dwDependSize)] LPBYTE lpDependencies, [in, range(0, SC_MAX_DEPEND_SIZE)] DWORD dwDependSize, [in, string, unique] LPSTR lpServiceStartName, [in, unique, size_is(dwPwSize)] LPBYTE lpPassword, [in, range(0, SC_MAX_PWD_SIZE)] DWORD dwPwSize, [out] LPSC_RPC_HANDLE lpServiceHandle)
 
DWORD __stdcall RCreateServiceWOW64W ([in] handle_t BindingHandle, [in, string] LPWSTR lpServiceName, [in, string, unique] LPWSTR lpDisplayName, [in] DWORD dwDesiredAccess, [in] DWORD dwServiceType, [in] DWORD dwStartType, [in] DWORD dwErrorControl, [in, string] LPWSTR lpBinaryPathName, [in, string, unique] LPWSTR lpLoadOrderGroup, [in, out, unique] LPDWORD lpdwTagId, [in, unique, size_is(dwDependSize)] LPBYTE lpDependencies, [in, range(0, SC_MAX_DEPEND_SIZE)] DWORD dwDependSize, [in, string, unique] LPWSTR lpServiceStartName, [in, unique, size_is(dwPwSize)] LPBYTE lpPassword, [in, range(0, SC_MAX_PWD_SIZE)] DWORD dwPwSize, [out] LPSC_RPC_HANDLE lpServiceHandle)
 
DWORD __stdcall RI_ScQueryServiceTagInfo ([in] SC_RPC_HANDLE hSCManager, [in] TAG_INFO_LEVEL dwInfoLevel, [in] PTAG_INFO_NAME_FROM_TAG_IN_PARAMS *lpInParams, [out] PTAG_INFO_NAME_FROM_TAG_OUT_PARAMS *lpOutParams)
 
DWORD __stdcall RNotifyServiceStatusChange ([in] SC_RPC_HANDLE hService, [in] SC_RPC_NOTIFY_PARAMS NotifyParams, [in] GUID *pClientProcessGuid, [out] GUID *pSCMProcessGuid, [out] PBOOL pfCreateRemoteQueue, [out] LPSC_NOTIFY_RPC_HANDLE phNotify)
 
DWORD __stdcall RGetNotifyResults ([in] SC_NOTIFY_RPC_HANDLE hNotify, [out] PSC_RPC_NOTIFY_PARAMS_LIST *ppNotifyParams)
 
DWORD __stdcall RCloseNotifyHandle ([in, out] LPSC_NOTIFY_RPC_HANDLE phNotify, [out] PBOOL pfApcFired)
 
DWORD __stdcall RControlServiceExA ([in] SC_RPC_HANDLE hService, [in] DWORD dwControl, [in] DWORD dwInfoLevel)
 
DWORD __stdcall RControlServiceExW ([in] SC_RPC_HANDLE hService, [in] DWORD dwControl, [in] DWORD dwInfoLevel)
 
DWORD __stdcall RSendPnPMessage ([in] handle_t BindingHandle)
 
DWORD __stdcall RI_ScValidatePnPService ([in] SC_RPC_HANDLE hService, [in, string] LPWSTR pszServiceName, [out] RPC_SERVICE_STATUS_HANDLE *phServiceStatus)
 
DWORD __stdcall ROpenServiceStatusHandle ([in] handle_t BindingHandle)
 
DWORD __stdcall RFunction55 ([in] handle_t BindingHandle)
 

Detailed Description

Definition at line 329 of file svcctl.idl.

Member Function Documentation

◆ RChangeServiceConfig2A()

DWORD __stdcall svcctl::RChangeServiceConfig2A ( [in] SC_RPC_HANDLE  hService,
[in] SC_RPC_CONFIG_INFOA  Info 
)

◆ RChangeServiceConfig2W()

DWORD __stdcall svcctl::RChangeServiceConfig2W ( [in] SC_RPC_HANDLE  hService,
[in] SC_RPC_CONFIG_INFOW  Info 
)

◆ RChangeServiceConfigA()

DWORD __stdcall svcctl::RChangeServiceConfigA ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwServiceType,
[in] DWORD  dwStartType,
[in] DWORD  dwErrorControl,
[in, string, unique] LPSTR  lpBinaryPathName,
[in, string, unique] LPSTR  lpLoadOrderGroup,
[in, out, unique] LPDWORD  lpdwTagId,
[in, unique, size_is(dwDependSize)] LPBYTE  lpDependencies,
[in, range(0, SC_MAX_DEPEND_SIZE)] DWORD  dwDependSize,
[in, string, unique] LPSTR  lpServiceStartName,
[in, unique, size_is(dwPwSize)] LPBYTE  lpPassword,
[in, range(0, SC_MAX_PWD_SIZE)] DWORD  dwPwSize,
[in, string, unique] LPSTR  lpDisplayName 
)

◆ RChangeServiceConfigW()

DWORD __stdcall svcctl::RChangeServiceConfigW ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwServiceType,
[in] DWORD  dwStartType,
[in] DWORD  dwErrorControl,
[in, string, unique] LPWSTR  lpBinaryPathName,
[in, string, unique] LPWSTR  lpLoadOrderGroup,
[in, out, unique] LPDWORD  lpdwTagId,
[in, unique, size_is(dwDependSize)] LPBYTE  lpDependencies,
[in, range(0, SC_MAX_DEPEND_SIZE)] DWORD  dwDependSize,
[in, string, unique] LPWSTR  lpServiceStartName,
[in, unique, size_is(dwPwSize)] LPBYTE  lpPassword,
[in, range(0, SC_MAX_PWD_SIZE)] DWORD  dwPwSize,
[in, string, unique] LPWSTR  lpDisplayName 
)

◆ RCloseNotifyHandle()

DWORD __stdcall svcctl::RCloseNotifyHandle ( [in, out] LPSC_NOTIFY_RPC_HANDLE  phNotify,
[out] PBOOL  pfApcFired 
)

◆ RCloseServiceHandle()

DWORD __stdcall svcctl::RCloseServiceHandle ( [in, out] LPSC_RPC_HANDLE  hSCObject)

◆ RControlService()

DWORD __stdcall svcctl::RControlService ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwControl,
[out] LPSERVICE_STATUS  lpServiceStatus 
)

◆ RControlServiceExA()

DWORD __stdcall svcctl::RControlServiceExA ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwControl,
[in] DWORD  dwInfoLevel 
)

◆ RControlServiceExW()

DWORD __stdcall svcctl::RControlServiceExW ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwControl,
[in] DWORD  dwInfoLevel 
)

◆ RCreateServiceA()

DWORD __stdcall svcctl::RCreateServiceA ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPSTR  lpServiceName,
[in, string, unique] LPSTR  lpDisplayName,
[in] DWORD  dwDesiredAccess,
[in] DWORD  dwServiceType,
[in] DWORD  dwStartType,
[in] DWORD  dwErrorControl,
[in, string] LPSTR  lpBinaryPathName,
[in, string, unique] LPSTR  lpLoadOrderGroup,
[in, out, unique] LPDWORD  lpdwTagId,
[in, unique, size_is(dwDependSize)] LPBYTE  lpDependencies,
[in, range(0, SC_MAX_DEPEND_SIZE)] DWORD  dwDependSize,
[in, string, unique] LPSTR  lpServiceStartName,
[in, unique, size_is(dwPwSize)] LPBYTE  lpPassword,
[in, range(0, SC_MAX_PWD_SIZE)] DWORD  dwPwSize,
[out] LPSC_RPC_HANDLE  lpServiceHandle 
)

◆ RCreateServiceW()

DWORD __stdcall svcctl::RCreateServiceW ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPCWSTR  lpServiceName,
[in, string, unique] LPCWSTR  lpDisplayName,
[in] DWORD  dwDesiredAccess,
[in] DWORD  dwServiceType,
[in] DWORD  dwStartType,
[in] DWORD  dwErrorControl,
[in, string] LPCWSTR  lpBinaryPathName,
[in, string, unique] LPCWSTR  lpLoadOrderGroup,
[in, out, unique] LPDWORD  lpdwTagId,
[in, unique, size_is(dwDependSize)] LPBYTE  lpDependencies,
[in, range(0, SC_MAX_DEPEND_SIZE)] DWORD  dwDependSize,
[in, string, unique] LPCWSTR  lpServiceStartName,
[in, unique, size_is(dwPwSize)] LPBYTE  lpPassword,
[in, range(0, SC_MAX_PWD_SIZE)] DWORD  dwPwSize,
[out] LPSC_RPC_HANDLE  lpServiceHandle 
)

◆ RCreateServiceWOW64A()

DWORD __stdcall svcctl::RCreateServiceWOW64A ( [in] handle_t  BindingHandle,
[in, string] LPSTR  lpServiceName,
[in, string, unique] LPSTR  lpDisplayName,
[in] DWORD  dwDesiredAccess,
[in] DWORD  dwServiceType,
[in] DWORD  dwStartType,
[in] DWORD  dwErrorControl,
[in, string] LPSTR  lpBinaryPathName,
[in, string, unique] LPSTR  lpLoadOrderGroup,
[in, out, unique] LPDWORD  lpdwTagId,
[in, unique, size_is(dwDependSize)] LPBYTE  lpDependencies,
[in, range(0, SC_MAX_DEPEND_SIZE)] DWORD  dwDependSize,
[in, string, unique] LPSTR  lpServiceStartName,
[in, unique, size_is(dwPwSize)] LPBYTE  lpPassword,
[in, range(0, SC_MAX_PWD_SIZE)] DWORD  dwPwSize,
[out] LPSC_RPC_HANDLE  lpServiceHandle 
)

◆ RCreateServiceWOW64W()

DWORD __stdcall svcctl::RCreateServiceWOW64W ( [in] handle_t  BindingHandle,
[in, string] LPWSTR  lpServiceName,
[in, string, unique] LPWSTR  lpDisplayName,
[in] DWORD  dwDesiredAccess,
[in] DWORD  dwServiceType,
[in] DWORD  dwStartType,
[in] DWORD  dwErrorControl,
[in, string] LPWSTR  lpBinaryPathName,
[in, string, unique] LPWSTR  lpLoadOrderGroup,
[in, out, unique] LPDWORD  lpdwTagId,
[in, unique, size_is(dwDependSize)] LPBYTE  lpDependencies,
[in, range(0, SC_MAX_DEPEND_SIZE)] DWORD  dwDependSize,
[in, string, unique] LPWSTR  lpServiceStartName,
[in, unique, size_is(dwPwSize)] LPBYTE  lpPassword,
[in, range(0, SC_MAX_PWD_SIZE)] DWORD  dwPwSize,
[out] LPSC_RPC_HANDLE  lpServiceHandle 
)

◆ RDeleteService()

DWORD __stdcall svcctl::RDeleteService ( [in] SC_RPC_HANDLE  hService)

◆ REnumDependentServicesA()

DWORD __stdcall svcctl::REnumDependentServicesA ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwServiceState,
[out, size_is(cbBufSize)] LPBYTE  lpServices,
[in, range(0, 1024 *256)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded,
[out] LPBOUNDED_DWORD_256K  lpServicesReturned 
)

◆ REnumDependentServicesW()

DWORD __stdcall svcctl::REnumDependentServicesW ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwServiceState,
[out, size_is(cbBufSize)] LPBYTE  lpServices,
[in, range(0, 1024 *256)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded,
[out] LPBOUNDED_DWORD_256K  lpServicesReturned 
)

◆ REnumServiceGroupW()

DWORD __stdcall svcctl::REnumServiceGroupW ( [in] SC_RPC_HANDLE  hSCManager,
[in] DWORD  dwServiceType,
[in] DWORD  dwServiceState,
[out, size_is(cbBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *256)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded,
[out] LPBOUNDED_DWORD_256K  lpServicesReturned,
[in, out, unique] LPBOUNDED_DWORD_256K  lpResumeIndex,
[in, string, unique] LPCWSTR  pszGroupName 
)

◆ REnumServicesStatusA()

DWORD __stdcall svcctl::REnumServicesStatusA ( [in] SC_RPC_HANDLE  hSCManager,
[in] DWORD  dwServiceType,
[in] DWORD  dwServiceState,
[out, size_is(dwBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *256)] DWORD  dwBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded,
[out] LPBOUNDED_DWORD_256K  lpServicesReturned,
[in, out, unique] LPBOUNDED_DWORD_256K  lpResumeHandle 
)

◆ REnumServicesStatusExA()

DWORD __stdcall svcctl::REnumServicesStatusExA ( [in] SC_RPC_HANDLE  hSCManager,
[in] SC_ENUM_TYPE  InfoLevel,
[in] DWORD  dwServiceType,
[in] DWORD  dwServiceState,
[out, size_is(cbBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *256)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded,
[out] LPBOUNDED_DWORD_256K  lpServicesReturned,
[in, out, unique] LPBOUNDED_DWORD_256K  lpResumeIndex,
[in, string, unique] LPCSTR  pszGroupName 
)

◆ REnumServicesStatusExW()

DWORD __stdcall svcctl::REnumServicesStatusExW ( [in] SC_RPC_HANDLE  hSCManager,
[in] SC_ENUM_TYPE  InfoLevel,
[in] DWORD  dwServiceType,
[in] DWORD  dwServiceState,
[out, size_is(cbBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *256)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded,
[out] LPBOUNDED_DWORD_256K  lpServicesReturned,
[in, out, unique] LPBOUNDED_DWORD_256K  lpResumeIndex,
[in, string, unique] LPCWSTR  pszGroupName 
)

◆ REnumServicesStatusW()

DWORD __stdcall svcctl::REnumServicesStatusW ( [in] SC_RPC_HANDLE  hSCManager,
[in] DWORD  dwServiceType,
[in] DWORD  dwServiceState,
[out, size_is(dwBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *256)] DWORD  dwBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded,
[out] LPBOUNDED_DWORD_256K  lpServicesReturned,
[in, out, unique] LPBOUNDED_DWORD_256K  lpResumeHandle 
)

◆ RFunction55()

DWORD __stdcall svcctl::RFunction55 ( [in] handle_t  BindingHandle)

◆ RGetNotifyResults()

DWORD __stdcall svcctl::RGetNotifyResults ( [in] SC_NOTIFY_RPC_HANDLE  hNotify,
[out] PSC_RPC_NOTIFY_PARAMS_LIST ppNotifyParams 
)

◆ RGetServiceDisplayNameA()

DWORD __stdcall svcctl::RGetServiceDisplayNameA ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPCSTR  lpServiceName,
[out, string, size_is(*lpcchBuffer)] LPSTR  lpDisplayName,
[in, out] LPBOUNDED_DWORD_4K  lpcchBuffer 
)

◆ RGetServiceDisplayNameW()

DWORD __stdcall svcctl::RGetServiceDisplayNameW ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPCWSTR  lpServiceName,
[out, string, size_is(*lpcchBuffer+1)] LPWSTR  lpDisplayName,
[in, out] DWORD lpcchBuffer 
)

◆ RGetServiceKeyNameA()

DWORD __stdcall svcctl::RGetServiceKeyNameA ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPCSTR  lpDisplayName,
[out, string, size_is(*lpcchBuffer)] LPSTR  lpKeyName,
[in, out] LPBOUNDED_DWORD_4K  lpcchBuffer 
)

◆ RGetServiceKeyNameW()

DWORD __stdcall svcctl::RGetServiceKeyNameW ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPCWSTR  lpDisplayName,
[out, string, size_is(*lpcchBuffer+1)] LPWSTR  lpServiceName,
[in, out] DWORD lpcchBuffer 
)

◆ RI_ScGetCurrentGroupStateW()

DWORD __stdcall svcctl::RI_ScGetCurrentGroupStateW ( [in] SC_RPC_HANDLE  hSCManager,
[in, string, unique] LPWSTR  lpLoadOrderGroup,
[out] LPDWORD  lpState 
)

◆ RI_ScQueryServiceTagInfo()

DWORD __stdcall svcctl::RI_ScQueryServiceTagInfo ( [in] SC_RPC_HANDLE  hSCManager,
[in] TAG_INFO_LEVEL  dwInfoLevel,
[in] PTAG_INFO_NAME_FROM_TAG_IN_PARAMS lpInParams,
[out] PTAG_INFO_NAME_FROM_TAG_OUT_PARAMS lpOutParams 
)

◆ RI_ScSetServiceBitsA()

DWORD __stdcall svcctl::RI_ScSetServiceBitsA ( [in] RPC_SERVICE_STATUS_HANDLE  hServiceStatus,
[in] DWORD  dwServiceBits,
[in] BOOL  bSetBitsOn,
[in] BOOL  bUpdateImmediately,
[in, string, unique] LPSTR  lpString 
)

◆ RI_ScSetServiceBitsW()

DWORD __stdcall svcctl::RI_ScSetServiceBitsW ( [in] RPC_SERVICE_STATUS_HANDLE  hServiceStatus,
[in] DWORD  dwServiceBits,
[in] BOOL  bSetBitsOn,
[in] BOOL  bUpdateImmediately,
[in, string, unique] LPWSTR  lpString 
)

◆ RI_ScValidatePnPService()

DWORD __stdcall svcctl::RI_ScValidatePnPService ( [in] SC_RPC_HANDLE  hService,
[in, string] LPWSTR  pszServiceName,
[out] RPC_SERVICE_STATUS_HANDLE phServiceStatus 
)

◆ RLockServiceDatabase()

DWORD __stdcall svcctl::RLockServiceDatabase ( [in] SC_RPC_HANDLE  hSCManager,
[out] LPSC_RPC_LOCK  lpLock 
)

◆ RNotifyBootConfigStatus()

DWORD __stdcall svcctl::RNotifyBootConfigStatus ( [in, string, unique] SVCCTL_HANDLEW  lpMachineName,
[in] DWORD  BootAcceptable 
)

◆ RNotifyServiceStatusChange()

DWORD __stdcall svcctl::RNotifyServiceStatusChange ( [in] SC_RPC_HANDLE  hService,
[in] SC_RPC_NOTIFY_PARAMS  NotifyParams,
[in] GUID pClientProcessGuid,
[out] GUID pSCMProcessGuid,
[out] PBOOL  pfCreateRemoteQueue,
[out] LPSC_NOTIFY_RPC_HANDLE  phNotify 
)

◆ ROpenSCManagerA()

DWORD __stdcall svcctl::ROpenSCManagerA ( [in, string, unique] SVCCTL_HANDLEA  lpMachineName,
[in, string, unique] LPSTR  lpDatabaseName,
[in] DWORD  dwDesiredAccess,
[out] LPSC_RPC_HANDLE  lpScHandle 
)

◆ ROpenSCManagerW()

DWORD __stdcall svcctl::ROpenSCManagerW ( [in, string, unique] SVCCTL_HANDLEW  lpMachineName,
[in, string, unique] LPWSTR  lpDatabaseName,
[in] DWORD  dwDesiredAccess,
[out] LPSC_RPC_HANDLE  lpScHandle 
)

◆ ROpenServiceA()

DWORD __stdcall svcctl::ROpenServiceA ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPSTR  lpServiceName,
[in] DWORD  dwDesiredAccess,
[out] LPSC_RPC_HANDLE  lpServiceHandle 
)

◆ ROpenServiceStatusHandle()

DWORD __stdcall svcctl::ROpenServiceStatusHandle ( [in] handle_t  BindingHandle)

◆ ROpenServiceW()

DWORD __stdcall svcctl::ROpenServiceW ( [in] SC_RPC_HANDLE  hSCManager,
[in, string] LPWSTR  lpServiceName,
[in] DWORD  dwDesiredAccess,
[out] LPSC_RPC_HANDLE  lpServiceHandle 
)

◆ RQueryServiceConfig2A()

DWORD __stdcall svcctl::RQueryServiceConfig2A ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwInfoLevel,
[out, size_is(cbBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *8)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_8K  pcbBytesNeeded 
)

◆ RQueryServiceConfig2W()

DWORD __stdcall svcctl::RQueryServiceConfig2W ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwInfoLevel,
[out, size_is(cbBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *8)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_8K  pcbBytesNeeded 
)

◆ RQueryServiceConfigA()

DWORD __stdcall svcctl::RQueryServiceConfigA ( [in] SC_RPC_HANDLE  hService,
[out, size_is(cbBufSize)] LPBYTE  lpServiceConfig,
[in, range(0, 1024 *8)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_8K  pcbBytesNeeded 
)

◆ RQueryServiceConfigW()

DWORD __stdcall svcctl::RQueryServiceConfigW ( [in] SC_RPC_HANDLE  hService,
[out, size_is(cbBufSize)] LPBYTE  lpServiceConfig,
[in, range(0, 1024 *8)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_8K  pcbBytesNeeded 
)

◆ RQueryServiceLockStatusA()

DWORD __stdcall svcctl::RQueryServiceLockStatusA ( [in] SC_RPC_HANDLE  hSCManager,
[out, size_is(cbBufSize)] LPBYTE  lpLockStatus,
[in, range(0, 1024 *4)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_4K  pcbBytesNeeded 
)

◆ RQueryServiceLockStatusW()

DWORD __stdcall svcctl::RQueryServiceLockStatusW ( [in] SC_RPC_HANDLE  hSCManager,
[out, size_is(cbBufSize)] LPBYTE  lpLockStatus,
[in, range(0, 1024 *4)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_4K  pcbBytesNeeded 
)

◆ RQueryServiceObjectSecurity()

DWORD __stdcall svcctl::RQueryServiceObjectSecurity ( [in] SC_RPC_HANDLE  hService,
[in] SECURITY_INFORMATION  dwSecurityInformation,
[out, size_is(cbBufSize)] LPBYTE  lpSecurityDescriptor,
[in, range(0, 1024 *256)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_256K  pcbBytesNeeded 
)

◆ RQueryServiceStatus()

DWORD __stdcall svcctl::RQueryServiceStatus ( [in] SC_RPC_HANDLE  hService,
[out] LPSERVICE_STATUS  lpServiceStatus 
)

◆ RQueryServiceStatusEx()

DWORD __stdcall svcctl::RQueryServiceStatusEx ( [in] SC_RPC_HANDLE  hService,
[in] SC_STATUS_TYPE  InfoLevel,
[out, size_is(cbBufSize)] LPBYTE  lpBuffer,
[in, range(0, 1024 *8)] DWORD  cbBufSize,
[out] LPBOUNDED_DWORD_8K  pcbBytesNeeded 
)

◆ RSendPnPMessage()

DWORD __stdcall svcctl::RSendPnPMessage ( [in] handle_t  BindingHandle)

◆ RSendTSMessage()

DWORD __stdcall svcctl::RSendTSMessage ( [in] handle_t  BindingHandle)

◆ RSetServiceObjectSecurity()

DWORD __stdcall svcctl::RSetServiceObjectSecurity ( [in] SC_RPC_HANDLE  hService,
[in] DWORD  dwSecurityInformation,
[in, size_is(dwSecuityDescriptorSize)] LPBYTE  lpSecurityDescriptor,
[in] DWORD  dwSecuityDescriptorSize 
)

◆ RSetServiceStatus()

DWORD __stdcall svcctl::RSetServiceStatus ( [in] RPC_SERVICE_STATUS_HANDLE  hServiceStatus,
[in] LPSERVICE_STATUS  lpServiceStatus 
)

◆ RStartServiceA()

DWORD __stdcall svcctl::RStartServiceA ( [in] SC_RPC_HANDLE  hService,
[in, range(0, SC_MAX_ARGUMENTS)] DWORD  argc,
[in, unique, size_is(argc)] LPSTRING_PTRSA  argv 
)

◆ RStartServiceW()

DWORD __stdcall svcctl::RStartServiceW ( [in] SC_RPC_HANDLE  hService,
[in, range(0, SC_MAX_ARGUMENTS)] DWORD  argc,
[in, unique, size_is(argc)] LPSTRING_PTRSW  argv 
)

◆ RUnlockServiceDatabase()

DWORD __stdcall svcctl::RUnlockServiceDatabase ( [in, out] LPSC_RPC_LOCK  Lock)

The documentation for this interface was generated from the following file: