diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-09 14:03:10 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-09 14:03:10 +0000 |
commit | d6b92ea55e63d342271c1f2f8a1bd9cd72050ef5 (patch) | |
tree | 8ce7568b2995581039aef356893767fbd0a893e4 /libdha/dhahelperwin | |
parent | 9408d2473669258b1653afa60cb9d5521bb9e771 (diff) | |
download | mpv-d6b92ea55e63d342271c1f2f8a1bd9cd72050ef5.tar.bz2 mpv-d6b92ea55e63d342271c1f2f8a1bd9cd72050ef5.tar.xz |
report if the service creation failed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12451 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/dhahelperwin')
-rw-r--r-- | libdha/dhahelperwin/dhasetup.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |