[Bug 41926] Zafehouse demo crashes with Call from 0x7b43c14c to unimplemented function ddraw.dll.GetSurfaceFromDC , aborting

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 4 05:05:37 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=41926

--- Comment #9 from Henri Verbeet <hverbeet at gmail.com> ---
(In reply to Dmitry Timoshkov from comment #8)
> Not sure how accurate it is, but
> https://www.dxgl.info/svn/dxgl/ddraw/ddraw.cpp
> contains this info:
> 
> /// Stub for function found in system ddraw.dll
> /// Function import is GetSurfaceFromDC
> DDRAW_API HRESULT WINAPI GlobalGetSurfaceFromDC(LPDIRECTDRAW7 lpDD, HDC hdc,
> LPDIRECTDRAWSURFACE7 *lpDDS)

The number of arguments seems correct, but so far I haven't been able to make
it return anything other than E_INVALIDARG. It's perhaps interesting to note
that it doesn't crash either, even when passing it random/interesting pointers.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list