Reece Dunn msclrhd@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.