Re: gdi32: pOS2->xAvgCharWidth can be negative however tmAvgCharWidth needs a positive value

2012-02-20 Thread Dmitry Timoshkov
Aric Stewart wrote: > -TM.tmAveCharWidth = (pFT_MulFix(pOS2->xAvgCharWidth, x_scale) + 32) >> 6; > +TM.tmAveCharWidth = (pFT_MulFix(abs(pOS2->xAvgCharWidth), x_scale) + 32) > >> 6; Did you test what Windows does in that case? -- Dmitry.

Re: [PATCH 1/3] Minimal fix for IOCTL_DVD_READ_STRUCTURE output format

2012-02-20 Thread Dan Kegel
On Fri, Feb 17, 2012 at 12:32 AM, Dan Kegel wrote: > This is a minimal patch that should fix Dragon Age disc detection, > http://bugs.winehq.org/show_bug.cgi?id=29669 > > The remaining problems can be dealt with after release. > > Test passes on Linux and Windows with the Dragon Age disc in the dr

Re: kernel32: CreateMemoryResourceNotification stub should return a waitable handle

2012-02-20 Thread Dan Kegel
On Mon, Feb 20, 2012 at 6:38 AM, Vitaliy Margolen wrote: > +    return CreateEventA(NULL, FALSE, FALSE, "Fake > MemoryResourceNotification"); I don't think you want a named event here. Anonymous would be better, in case the program will ask for another event. >>> >>> Oh, rig

Re: know more about Win API's

2012-02-20 Thread Matijn Woudt
On Mon, Feb 20, 2012 at 12:17 PM, Dmitry Timoshkov wrote: > prateek papriwal wrote: > >> can anyone suggest me how to get knowledge of windows API's and Wine >> Internals. I am reading the documentation provided on the site but i am >> finding it hard to grasp the things .. if u can suggest me so

Re: know more about Win API's

2012-02-20 Thread Dmitry Timoshkov
prateek papriwal wrote: > can anyone suggest me how to get knowledge of windows API's and Wine > Internals. I am reading the documentation provided on the site but i am > finding it hard to grasp the things .. if u can suggest me some good > readings or moreover a structured way of reading things

know more about Win API's

2012-02-20 Thread prateek papriwal
hello, can anyone suggest me how to get knowledge of windows API's and Wine Internals. I am reading the documentation provided on the site but i am finding it hard to grasp the things .. if u can suggest me some good readings or moreover a structured way of reading things it would be helpful for me