From d6b92ea55e63d342271c1f2f8a1bd9cd72050ef5 Mon Sep 17 00:00:00 2001 From: faust3 Date: Sun, 9 May 2004 14:03:10 +0000 Subject: [PATCH] report if the service creation failed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12451 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libdha/dhahelperwin/dhasetup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libdha/dhahelperwin/dhasetup.c b/libdha/dhahelperwin/dhasetup.c index 38c10b3c35..6b6c9292e2 100644 --- a/libdha/dhahelperwin/dhasetup.c +++ b/libdha/dhahelperwin/dhasetup.c @@ -38,6 +38,9 @@ int main(int argc,char* argv[]){ NULL, NULL, NULL); + if(!hService){ + printf("unable to register DHAHELPER Service (0x%x)\n",GetLastError()); + } } else if(!strcmp(argv[1],"remove")){ SERVICE_STATUS ServiceStatus;