http://bugs.winehq.org/show_bug.cgi?id=19352
--- Comment #14 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-11-06 02:23:22 ---
Actually, this might be correct. 0 is S_OK, and this branch happens when the IUnknown passed to OleLockRunning doesn't implement IRunnableObject. A quick test with an empty IUnknown would tell you what windows does in this case.
Thanks for explanantion. If i was familiar with code in ole32 i would pick this up myself, but i am not. Juan, is there a chance you could add test +fix (as you said the test would be a quickie...)?