[ros-diffs] [weiden] 27718: Fix crash due to wrong calling convention

weiden at svn.reactos.org weiden at svn.reactos.org
Wed Jul 18 14:23:29 CEST 2007


Author: weiden
Date: Wed Jul 18 16:23:29 2007
New Revision: 27718

URL: http://svn.reactos.org/svn/reactos?rev=27718&view=rev
Log:
Fix crash due to wrong calling convention

Modified:
    trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c

Modified: trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c?rev=27718&r1=27717&r2=27718&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c (original)
+++ trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c Wed Jul 18 16:23:29 2007
@@ -42,7 +42,7 @@
 	{IDI_CPLICON, IDS_CPLNAME, IDS_CPLDESCRIPTION, Applet}
 };
 
-typedef BOOL (*PINSTALL_NEW_DEVICE)(HWND, LPGUID, PDWORD);
+typedef BOOL (WINAPI *PINSTALL_NEW_DEVICE)(HWND, LPGUID, PDWORD);
 
 LONG APIENTRY
 Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)




More information about the Ros-diffs mailing list