Add stub for IoOpenDeviceRegistryKey

Paul Chitescu paulc at voip.null.ro
Tue Jul 14 05:06:43 CDT 2009


+    FIXME( "stub:\n");
+    return STATUS_SUCCESS;

This is incorrect, since you are adding a stub you must not return success as 
it would imply that *DevInstRegKey is filled with a valid handle.

You must either return an error or provide a full valid implementation 
(unlikely). Anything else is your private hack, unsuitable for including in 
the public wine repository since it could crash some drivers.



More information about the wine-devel mailing list