msvideo.dll16: Implement DrawDibProfileDisplay

Sebastian Lackner sebastian at fds-team.de
Thu Jan 26 16:52:34 CST 2017


On 26.01.2017 23:47, Bruno Jesus wrote:
> On Thu, Jan 26, 2017 at 8:56 AM, Alexandre Julliard <julliard at winehq.org> wrote:
>> Bruno Jesus <00cpxxx at gmail.com> writes:
>>
>>> @@ -35,7 +35,7 @@
>>>  111 stub DRAWDIBCHANGEPALETTE
>>>  112 pascal -ret16 DrawDibRealize(word word word) DrawDibRealize16
>>>  113 stub DRAWDIBTIME
>>> -114 stub DRAWDIBPROFILEDISPLAY
>>> +114 pascal -ret16 DrawDibProfileDisplay(segptr) DrawDibProfileDisplay16
>>
>> segptr is not correct if you pass the pointer to 32-bit code.
> 
> Thanks for the reply, I wrote a 16-bit app that calls
> DrawDibProfileDisplay [1][2] and indeed when I try to access any data
> in the struct inside Wine it crashes. It worked for the bug and games
> because the function is a stub and does nothing with the struct in
> msvfw32.
> 
> What should be done then?

Use "ptr" instead in the specfile.

> 
> [1] http://alexa.pro.br/~bruno/wine/msvideo.exe
> [2] http://alexa.pro.br/~bruno/wine/file.txt
> 
> Thanks in advance,
> Bruno
> 
> 




More information about the wine-devel mailing list