[PATCH] programs/regsvr32: Make Dll* exports WINAPI

Hugh McMaster hugh.mcmaster at outlook.com
Thu May 28 05:00:57 CDT 2015


---
 programs/regsvr32/regsvr32.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c
index 624acd6..e540d1f 100644
--- a/programs/regsvr32/regsvr32.c
+++ b/programs/regsvr32/regsvr32.c
@@ -59,9 +59,9 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(regsvr32);
 
-typedef HRESULT (*DLLREGISTER)          (void);
-typedef HRESULT (*DLLUNREGISTER)        (void);
-typedef HRESULT (*DLLINSTALL)           (BOOL,LPCWSTR);
+typedef HRESULT (WINAPI *DLLREGISTER)   (void);
+typedef HRESULT (WINAPI *DLLUNREGISTER) (void);
+typedef HRESULT (WINAPI *DLLINSTALL)    (BOOL,LPCWSTR);
 
 static BOOL Silent = FALSE;
 
-- 
1.9.1




More information about the wine-patches mailing list