mirror of https://github.com/mpv-player/mpv
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12454 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cb8bc5d47a
commit
31998fdcd2
|
@ -21,9 +21,10 @@ int main(int argc,char* argv[]){
|
|||
hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
|
||||
if(!strcmp(argv[1],"install")){
|
||||
printf("Installing dhahelper...\n");
|
||||
if(!CopyFile("dhahelper.sys",path,FALSE))
|
||||
if(!CopyFile("dhahelper.sys",path,FALSE)){
|
||||
printf("Copying dhahelper.sys failed.\nEither dhahelper.sys is not in the current directory or you lack sufficient\nprivileges to write to %s.", path);
|
||||
return 1;
|
||||
}
|
||||
// Install the driver
|
||||
hService = CreateService(hSCManager,
|
||||
"DHAHELPER",
|
||||
|
|
Loading…
Reference in New Issue