27 DWORD dwDesiredAccess,
42 DWORD dwDesiredAccess,
65#define register_service_ex register_service_exW
66#define register_service register_serviceW
68#define register_service_ex register_service_exA
69#define register_service register_serviceA
static char service_name[100]
static SC_HANDLE scm_handle
static HRESULT start_service(const WCHAR *name, VARIANT *retval)
GLuint GLuint GLsizei GLenum type
static const char * test_name
PULONG MinorVersion OPTIONAL
void send_msg(const char *type, const char *msg)
void service_trace(const char *msg,...)
SC_HANDLE register_serviceW(SC_HANDLE scm_handle, PCWSTR test_name, PCWSTR service_name, PCWSTR extra_args OPTIONAL)
SC_HANDLE register_service_exA(SC_HANDLE scm_handle, PCSTR test_name, PCSTR service_name, PCSTR extra_args OPTIONAL, DWORD dwDesiredAccess, DWORD dwServiceType, DWORD dwStartType, DWORD dwErrorControl, LPCSTR lpLoadOrderGroup OPTIONAL, LPDWORD lpdwTagId OPTIONAL, LPCSTR lpDependencies OPTIONAL, LPCSTR lpServiceStartName OPTIONAL, LPCSTR lpPassword OPTIONAL)
void test_runner(void(*run_test)(PCSTR, PCWSTR, void *), void *param)
SC_HANDLE register_service_exW(SC_HANDLE scm_handle, PCWSTR test_name, PCWSTR service_name, PCWSTR extra_args OPTIONAL, DWORD dwDesiredAccess, DWORD dwServiceType, DWORD dwStartType, DWORD dwErrorControl, LPCWSTR lpLoadOrderGroup OPTIONAL, LPDWORD lpdwTagId OPTIONAL, LPCWSTR lpDependencies OPTIONAL, LPCWSTR lpServiceStartName OPTIONAL, LPCWSTR lpPassword OPTIONAL)
void service_process(BOOL(*start_service)(PCSTR, PCWSTR), int argc, char **argv)
void service_ok(int cnd, const char *msg,...)
SC_HANDLE register_serviceA(SC_HANDLE scm_handle, PCSTR test_name, PCSTR service_name, PCSTR extra_args OPTIONAL)