Commit 828fd75a authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Improve regsvr32 output.

parent 5b2810bb
...@@ -86,7 +86,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand ...@@ -86,7 +86,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
if(!*DllHandle) if(!*DllHandle)
{ {
if(!Silent) if(!Silent)
printf("Dll %s not found\n", strDll); printf("Failed to load DLL %s\n", strDll);
exit(-1); exit(-1);
} }
...@@ -94,7 +94,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand ...@@ -94,7 +94,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
if(!proc) if(!proc)
{ {
if(!Silent) if(!Silent)
printf("%s not implemented in dll %s\n", procName, strDll); printf("%s not implemented in DLL %s\n", procName, strDll);
FreeLibrary(*DllHandle); FreeLibrary(*DllHandle);
exit(-1); exit(-1);
} }
...@@ -113,12 +113,12 @@ static int RegisterDll(const char* strDll) ...@@ -113,12 +113,12 @@ static int RegisterDll(const char* strDll)
if(FAILED(hr)) if(FAILED(hr))
{ {
if(!Silent) if(!Silent)
printf("Failed to register dll %s\n", strDll); printf("Failed to register DLL %s\n", strDll);
return -1; return -1;
} }
if(!Silent) if(!Silent)
printf("Successfully registered dll %s\n", strDll); printf("Successfully registered DLL %s\n", strDll);
if(DllHandle) if(DllHandle)
FreeLibrary(DllHandle); FreeLibrary(DllHandle);
...@@ -136,12 +136,12 @@ static int UnregisterDll(char* strDll) ...@@ -136,12 +136,12 @@ static int UnregisterDll(char* strDll)
if(FAILED(hr)) if(FAILED(hr))
{ {
if(!Silent) if(!Silent)
printf("Failed to unregister dll %s\n", strDll); printf("Failed to unregister DLL %s\n", strDll);
return -1; return -1;
} }
if(!Silent) if(!Silent)
printf("Successfully unregistered dll %s\n", strDll); printf("Successfully unregistered DLL %s\n", strDll);
if(DllHandle) if(DllHandle)
FreeLibrary(DllHandle); FreeLibrary(DllHandle);
...@@ -159,12 +159,12 @@ static int InstallDll(BOOL install, char *strDll, WCHAR *command_line) ...@@ -159,12 +159,12 @@ static int InstallDll(BOOL install, char *strDll, WCHAR *command_line)
if(FAILED(hr)) if(FAILED(hr))
{ {
if(!Silent) if(!Silent)
printf("Failed to %s dll %s\n", install ? "install" : "uninstall", printf("Failed to %s DLL %s\n", install ? "install" : "uninstall",
strDll); strDll);
return -1; return -1;
} }
if(!Silent) if(!Silent)
printf("Successfully %s dll %s\n", install ? "installed" : "uninstalled", printf("Successfully %s DLL %s\n", install ? "installed" : "uninstalled",
strDll); strDll);
if(DllHandle) if(DllHandle)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment