[PATCH] msi: Print error number when GetProcAddress fails

Carlos Palminha CARLOS.PALMINHA at synopsys.com
Wed Aug 16 11:20:50 CDT 2017


Signed-off-by: Carlos Palminha <palminha at synopsys.com>
---
 dlls/msi/custom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 922927e8903..cfdfe852efb 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -608,7 +608,7 @@ static DWORD ACTION_CallDllFunction( const GUID *guid )
             ERR("failed to create handle for %p\n", remote_package );
     }
     else
-        ERR("GetProcAddress(%s) failed\n", debugstr_w( function ) );
+        ERR("GetProcAddress(%s) failed: %d\n", debugstr_w( function ), GetLastError() );
 
     FreeLibrary(hModule);
 
-- 
2.11.0




More information about the wine-patches mailing list