[PATCH] ole32: ignore HighPart in the Seek method HGLOBAL streams.
Alexandre Julliard
julliard at winehq.org
Tue Feb 23 05:19:29 CST 2010
Reece Dunn <msclrhd at googlemail.com> writes:
> @@ -395,9 +395,11 @@ static HRESULT WINAPI HGLOBALStreamImpl_Seek(
> * If the file pointer ends-up after the end of the stream, the next Write operation will
> * make the file larger. This is how it is documented.
> */
> - if (dlibMove.QuadPart < 0 && newPosition.QuadPart < -dlibMove.QuadPart) return STG_E_INVALIDFUNCTION;
> + if (dlibMove.u.LowPart < 0 && newPosition.u.LowPart < -dlibMove.u.LowPart)
> + return STG_E_INVALIDFUNCTION;
This doesn't make sense, LowPart is unsigned.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list