changeset 12450:238820c0ee48

report if the service creation failed
author faust3
date Sun, 09 May 2004 14:03:10 +0000
parents 44959468c64d
children a6ab8d3c2069
files libdha/dhahelperwin/dhasetup.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/dhahelperwin/dhasetup.c	Sun May 09 03:43:42 2004 +0000
+++ b/libdha/dhahelperwin/dhasetup.c	Sun May 09 14:03:10 2004 +0000
@@ -38,6 +38,9 @@
                              NULL,
                              NULL,
                              NULL);
+    if(!hService){
+      printf("unable to register DHAHELPER Service (0x%x)\n",GetLastError());
+    }
   }
   else if(!strcmp(argv[1],"remove")){
     SERVICE_STATUS ServiceStatus;