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?re…
==============================================================================
--- 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)