Rolf Kalbermatter [mailto:[EMAIL PROTECTED]
>+GetServiceDisplayName(SCManager, service_name, NULL, buffer_size);
>+if(!buffer_size)
>+{
>
>Apart from GetServiceDisplayName() currently not being implemented in Wine,
this won't work!
>*buffer_size won't be allocated by the function but h
Tim Schwartz [EMAIL PROTECTED] wrote:
diff --git a/programs/net/net.c b/programs/net/net.c index f77c820..ef08250
100644
--- a/programs/net/net.c
+++ b/programs/net/net.c
@@ -18,15 +18,66 @@
#include
#include
+#include
+
+int net_service(char *operation, char *service_name) {
+SC_HANDLE
"Tim Schwartz" <[EMAIL PROTECTED]> wrote:
+int net_service(char *operation, char *service_name)
Please add 'static' since it isn't used outside of this .c file.
+{
+SC_HANDLE SCManager, serviceHandle;
+int result = 0;
+unsigned int *buffer_size = NULL;
+char *service_display_