|
| DECLARE_HANDLE (SC_HANDLE) |
|
| DECLARE_HANDLE (SERVICE_STATUS_HANDLE) |
|
BOOL WINAPI | ChangeServiceConfigA (_In_ SC_HANDLE, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _Out_opt_ LPDWORD, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR) |
|
BOOL WINAPI | ChangeServiceConfigW (_In_ SC_HANDLE, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _Out_opt_ LPDWORD, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR) |
|
BOOL WINAPI | ChangeServiceConfig2A (_In_ SC_HANDLE, _In_ DWORD, _In_opt_ LPVOID) |
|
BOOL WINAPI | ChangeServiceConfig2W (_In_ SC_HANDLE, _In_ DWORD, _In_opt_ LPVOID) |
|
BOOL WINAPI | CloseServiceHandle (_In_ SC_HANDLE) |
|
BOOL WINAPI | ControlService (_In_ SC_HANDLE, _In_ DWORD, _Out_ LPSERVICE_STATUS) |
|
_Must_inspect_result_ SC_HANDLE WINAPI | CreateServiceA (_In_ SC_HANDLE, _In_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _Out_opt_ PDWORD, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR) |
|
_Must_inspect_result_ SC_HANDLE WINAPI | CreateServiceW (_In_ SC_HANDLE, _In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _Out_opt_ PDWORD, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR) |
|
BOOL WINAPI | DeleteService (_In_ SC_HANDLE) |
|
_Must_inspect_result_ BOOL WINAPI | EnumDependentServicesA (_In_ SC_HANDLE hService, _In_ DWORD dwServiceState, _Out_writes_bytes_opt_(cbBufSize) LPENUM_SERVICE_STATUSA lpServices, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded, _Out_ LPDWORD lpServicesReturned) |
|
_Must_inspect_result_ BOOL WINAPI | EnumDependentServicesW (_In_ SC_HANDLE hService, _In_ DWORD dwServiceState, _Out_writes_bytes_opt_(cbBufSize) LPENUM_SERVICE_STATUSW lpServices, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded, _Out_ LPDWORD lpServicesReturned) |
|
_Must_inspect_result_ BOOL WINAPI | EnumServicesStatusA (_In_ SC_HANDLE hSCManager, _In_ DWORD dwServiceType, _In_ DWORD dwServiceState, _Out_writes_bytes_opt_(cbBufSize) LPENUM_SERVICE_STATUSA lpServices, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded, _Out_ LPDWORD lpServicesReturned, _Inout_opt_ LPDWORD lpResumeHandle) |
|
_Must_inspect_result_ BOOL WINAPI | EnumServicesStatusW (_In_ SC_HANDLE hSCManager, _In_ DWORD dwServiceType, _In_ DWORD dwServiceState, _Out_writes_bytes_opt_(cbBufSize) LPENUM_SERVICE_STATUSW lpServices, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded, _Out_ LPDWORD lpServicesReturned, _Inout_opt_ LPDWORD lpResumeHandle) |
|
_Must_inspect_result_ BOOL WINAPI | EnumServicesStatusExA (_In_ SC_HANDLE hSCManager, _In_ SC_ENUM_TYPE InfoLevel, _In_ DWORD dwServiceType, _In_ DWORD dwServiceState, _Out_writes_bytes_opt_(cbBufSize) LPBYTE lpServices, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded, _Out_ LPDWORD lpServicesReturned, _Inout_opt_ LPDWORD lpResumeHandle, _In_opt_ LPCSTR pszGroupName) |
|
_Must_inspect_result_ BOOL WINAPI | EnumServicesStatusExW (_In_ SC_HANDLE hSCManager, _In_ SC_ENUM_TYPE InfoLevel, _In_ DWORD dwServiceType, _In_ DWORD dwServiceState, _Out_writes_bytes_opt_(cbBufSize) LPBYTE lpServices, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded, _Out_ LPDWORD lpServicesReturned, _Inout_opt_ LPDWORD lpResumeHandle, _In_opt_ LPCWSTR pszGroupName) |
|
_Must_inspect_result_ BOOL WINAPI | GetServiceDisplayNameA (_In_ SC_HANDLE hSCManager, _In_ LPCSTR lpServiceName, _Out_writes_opt_(*lpcchBuffer) LPSTR lpDisplayName, _Inout_ LPDWORD lpcchBuffer) |
|
_Must_inspect_result_ BOOL WINAPI | GetServiceDisplayNameW (_In_ SC_HANDLE hSCManager, _In_ LPCWSTR lpServiceName, _Out_writes_opt_(*lpcchBuffer) LPWSTR lpDisplayName, _Inout_ LPDWORD lpcchBuffer) |
|
_Must_inspect_result_ BOOL WINAPI | GetServiceKeyNameA (_In_ SC_HANDLE hSCManager, _In_ LPCSTR lpDisplayName, _Out_writes_opt_(*lpcchBuffer) LPSTR lpServiceName, _Inout_ LPDWORD lpcchBuffer) |
|
_Must_inspect_result_ BOOL WINAPI | GetServiceKeyNameW (_In_ SC_HANDLE hSCManager, _In_ LPCWSTR lpDisplayName, _Out_writes_opt_(*lpcchBuffer) LPWSTR lpServiceName, _Inout_ LPDWORD lpcchBuffer) |
|
SC_LOCK WINAPI | LockServiceDatabase (_In_ SC_HANDLE) |
|
BOOL WINAPI | NotifyBootConfigStatus (_In_ BOOL) |
|
_Must_inspect_result_ SC_HANDLE WINAPI | OpenSCManagerA (_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD) |
|
_Must_inspect_result_ SC_HANDLE WINAPI | OpenSCManagerW (_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD) |
|
_Must_inspect_result_ SC_HANDLE WINAPI | OpenServiceA (_In_ SC_HANDLE, _In_ LPCSTR, _In_ DWORD) |
|
_Must_inspect_result_ SC_HANDLE WINAPI | OpenServiceW (_In_ SC_HANDLE, _In_ LPCWSTR, _In_ DWORD) |
|
DWORD WINAPI | NotifyServiceStatusChangeA (_In_ SC_HANDLE, _In_ DWORD, _In_ PSERVICE_NOTIFYA) |
|
DWORD WINAPI | NotifyServiceStatusChangeW (_In_ SC_HANDLE, _In_ DWORD, _In_ PSERVICE_NOTIFYW) |
|
_Must_inspect_result_ BOOL WINAPI | QueryServiceConfigA (_In_ SC_HANDLE hService, _Out_writes_bytes_opt_(cbBufSize) LPQUERY_SERVICE_CONFIGA lpServiceConfig, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded) |
|
_Must_inspect_result_ BOOL WINAPI | QueryServiceConfigW (_In_ SC_HANDLE hService, _Out_writes_bytes_opt_(cbBufSize) LPQUERY_SERVICE_CONFIGW lpServiceConfig, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded) |
|
| _When_ (dwInfoLevel==SERVICE_CONFIG_DESCRIPTION, _At_(cbBufSize, _In_range_(>=, sizeof(LPSERVICE_DESCRIPTIONA)))) _When_(dwInfoLevel |
|
| _At_ (cbBufSize, _In_range_(>=, sizeof(LPSERVICE_FAILURE_ACTIONSA)))) _When_(dwInfoLevel |
|
| _At_ (cbBufSize, _In_range_(>=, sizeof(LPSERVICE_REQUIRED_PRIVILEGES_INFOA)))) _Must_inspect_result_ BOOL WINAPI QueryServiceConfig2A(_In_ SC_HANDLE hService |
|
_In_ DWORD | _Out_writes_bytes_opt_ (cbBufSize) LPBYTE lpBuffer |
|
| _When_ (dwInfoLevel==SERVICE_CONFIG_DESCRIPTION, _At_(cbBufSize, _In_range_(>=, sizeof(LPSERVICE_DESCRIPTIONW)))) _When_(dwInfoLevel |
|
| _At_ (cbBufSize, _In_range_(>=, sizeof(LPSERVICE_FAILURE_ACTIONSW)))) _When_(dwInfoLevel |
|
| _At_ (cbBufSize, _In_range_(>=, sizeof(LPSERVICE_REQUIRED_PRIVILEGES_INFOW)))) _Must_inspect_result_ BOOL WINAPI QueryServiceConfig2W(_In_ SC_HANDLE hService |
|
_Must_inspect_result_ BOOL WINAPI | QueryServiceLockStatusA (_In_ SC_HANDLE hSCManager, _Out_writes_bytes_opt_(cbBufSize) LPQUERY_SERVICE_LOCK_STATUSA lpLockStatus, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded) |
|
_Must_inspect_result_ BOOL WINAPI | QueryServiceLockStatusW (_In_ SC_HANDLE hSCManager, _Out_writes_bytes_opt_(cbBufSize) LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded) |
|
_Must_inspect_result_ BOOL WINAPI | QueryServiceObjectSecurity (_In_ SC_HANDLE hService, _In_ SECURITY_INFORMATION dwSecurityInformation, _Out_writes_bytes_opt_(cbBufSize) PSECURITY_DESCRIPTOR lpSecurityDescriptor, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded) |
|
_Must_inspect_result_ BOOL WINAPI | QueryServiceStatus (_In_ SC_HANDLE, _Out_ LPSERVICE_STATUS) |
|
_Must_inspect_result_ BOOL WINAPI | QueryServiceStatusEx (_In_ SC_HANDLE hService, _In_ SC_STATUS_TYPE InfoLevel, _Out_writes_bytes_opt_(cbBufSize) LPBYTE lpBuffer, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded) |
|
_Must_inspect_result_ SERVICE_STATUS_HANDLE WINAPI | RegisterServiceCtrlHandlerA (_In_ LPCSTR, _In_ LPHANDLER_FUNCTION) |
|
_Must_inspect_result_ SERVICE_STATUS_HANDLE WINAPI | RegisterServiceCtrlHandlerW (_In_ LPCWSTR, _In_ LPHANDLER_FUNCTION) |
|
_Must_inspect_result_ SERVICE_STATUS_HANDLE WINAPI | RegisterServiceCtrlHandlerExA (_In_ LPCSTR, _In_ LPHANDLER_FUNCTION_EX, _In_opt_ LPVOID) |
|
_Must_inspect_result_ SERVICE_STATUS_HANDLE WINAPI | RegisterServiceCtrlHandlerExW (_In_ LPCWSTR, _In_ LPHANDLER_FUNCTION_EX, _In_opt_ LPVOID) |
|
BOOL WINAPI | SetServiceObjectSecurity (_In_ SC_HANDLE, _In_ SECURITY_INFORMATION, _In_ PSECURITY_DESCRIPTOR) |
|
BOOL WINAPI | SetServiceStatus (_In_ SERVICE_STATUS_HANDLE, _In_ LPSERVICE_STATUS) |
|
BOOL WINAPI | StartServiceA (_In_ SC_HANDLE hService, _In_ DWORD dwNumServiceArgs, _In_reads_opt_(dwNumServiceArgs) LPCSTR *lpServiceArgVectors) |
|
BOOL WINAPI | StartServiceW (_In_ SC_HANDLE hService, _In_ DWORD dwNumServiceArgs, _In_reads_opt_(dwNumServiceArgs) LPCWSTR *lpServiceArgVectors) |
|
BOOL WINAPI | StartServiceCtrlDispatcherA (_In_ const SERVICE_TABLE_ENTRYA *) |
|
BOOL WINAPI | StartServiceCtrlDispatcherW (_In_ const SERVICE_TABLE_ENTRYW *) |
|
BOOL WINAPI | UnlockServiceDatabase (_In_ SC_LOCK) |
|