serial port access - microwin step 7

Rein Klazes rklazes at xs4all.nl
Tue Jan 20 06:58:19 CST 2004


On Tue, 20 Jan 2004 11:19:17 +0100, you wrote:


> Unhandled exception: unimplemented function 
> setupx.dll.DiBuildClassDrvList called in 32-bit code (0x41712e66).
> 

Third possibility is to try the attached patch (you must compile wine
from source to try this):

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/dlls/setupapi/setupx.spec	2003-09-26 06:32:20.000000000 +0200
+++ mywine/dlls/setupapi/setupx.spec	2004-01-20 13:48:54.000000000 +0100
@@ -135,7 +135,7 @@
 213  pascal -ret16 vcpUICallbackProc(ptr word word long long) vcpUICallbackProc16
 214  stub     VcpAddMRUPath #(str)
 300  pascal -ret16 DiBuildCompatDrvList (ptr) DiBuildCompatDrvList16
-301  stub     DiBuildClassDrvList #(ptr)
+301  pascal -ret16 DiBuildClassDrvList (ptr) DiBuildClassDrvList16
 302  stub     DiDestroyDriverNodeList #(ptr)
 303  pascal -ret16 DiCreateDeviceInfo (ptr str long long str str word) DiCreateDeviceInfo16
 304  pascal -ret16 DiGetClassDevs(ptr str word word) DiGetClassDevs16
--- wine/dlls/setupapi/devinst16.c	2003-09-08 21:38:46.000000000 +0200
+++ mywine/dlls/setupapi/devinst16.c	2004-01-20 13:47:50.000000000 +0100
@@ -56,6 +56,16 @@
 }
 
 /***********************************************************************
+ *	        DiBuildClassDrvList (SETUPX.301)
+ */
+RETERR16 WINAPI DiBuildClassDrvList16(LPDEVICE_INFO16 lpdi)
+{
+    FIXME("(%p): stub\n", lpdi);
+    lpdi->lpCompatDrvList = NULL;
+    return FALSE;
+}
+
+/***********************************************************************
  *		DiCallClassInstaller (SETUPX.308)
  */
 RETERR16 WINAPI DiCallClassInstaller16(/*DI_FUNCTIONS*/WORD diFctn, LPDEVICE_INFO16 lpdi)


More information about the wine-users mailing list